Om
1.0.0
A universal framework for multimedia simulation
|
A class that stores different boolean parameters for sound formats. More...
#include <omSoundFormatFlags.h>
Public Types | |
enum | Flag { UNDEFINED = 0, VBR = (1 << 0), DEFAULT = VBR } |
An enum that specifies the different sound format flags. More... | |
Public Member Functions | |
SoundFormatFlags () | |
Create a new sound format flags object with no flags set. More... | |
SoundFormatFlags (Flag flag) | |
Create a new sound format flags object with the specified flag value initially set. More... | |
SoundFormatFlags (UInt32 newFlags) | |
Create a new sound format flags object with the specified initial combined flags value. More... | |
operator UInt32 () const | |
Convert this sound 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 sound formats.
|
inline |
Create a new sound format flags object with no flags set.
|
inline |
Create a new sound format flags object with the specified flag value initially set.
|
inline |
Create a new sound format flags object with the specified initial combined flags value.
|
inline |
Convert this sound format flags object to an integer value.
This operator is provided so that the SoundFormatFlags 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.