CopperSpice API  1.7.2
QFlag Class Reference

Helper data type for QFlags. More...

Public Methods

 QFlag (int value)
 
 operator int () const
 

Detailed Description

The QFlag class is a helper data type for QFlags. It is equivalent to a plain int, except with respect to function overloading and type conversions. You should never need to use this class in your application.

See also
QFlags

Constructor & Destructor Documentation

QFlag::QFlag ( int  value)
inline

Constructs a QFlag object that stores the given value.

Method Documentation

QFlag::operator int ( ) const
inline

Returns the value stored by the QFlag object.