Om
1.0.0
A universal framework for multimedia simulation
|
A class that stores different boolean parameters for image formats. More...
#include <omImageFormatFlags.h>
Public Types | |
enum | Flag { UNDEFINED = 0, PROGRESSIVE = (1 << 0), DEFAULT = UNDEFINED } |
An enum that specifies the different image format flags. More... | |
Public Member Functions | |
ImageFormatFlags () | |
Create a new image format flags object with no flags set. More... | |
ImageFormatFlags (Flag flag) | |
Create a new image format flags object with the specified flag value initially set. More... | |
ImageFormatFlags (UInt32 newFlags) | |
Create a new image format flags object with the specified initial combined flags value. More... | |
operator UInt32 () const | |
Convert this image format flags object to an integer value. More... | |
Bool | isSet (Flag flag) const |
Return whether or not the specified flag value is set for this flags object. More... | |
void | set (Flag flag, Bool newIsSet) |
Set whether or not the specified flag value is set for this flags object. More... | |
A class that stores different boolean parameters for image formats.
|
inline |
Create a new image format flags object with no flags set.
|
inline |
Create a new image format flags object with the specified flag value initially set.
|
inline |
Create a new image format flags object with the specified initial combined flags value.
|
inline |
Convert this image format flags object to an integer value.
This operator is provided so that the ImageFormatFlags object can be used as an integer value for bitwise logical operations.
Return whether or not the specified flag value is set for this flags object.
Set whether or not the specified flag value is set for this flags object.