TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
FourCC Class Reference

Public Member Functions

 FourCC (tU32 anFourCC=0)
 Initialize the FourCC with a tU32 value. More...
 
 FourCC (tU8 anA, tU8 anB, tU8 anC, tU8 anD)
 Initialize the FourCC with four tU8. More...
 
 FourCC (const cchar *acszFourCC)
 Initialize the FourCC with a string. More...
 
 operator tU32 () const
 Cast to a tU32. More...
 
void Set (tU8 anA, tU8 anB, tU8 anC, tU8 anD)
 Set the ABCD components of the FourCC. More...
 
void SetA (tU8 anV)
 Set the A component of the FourCC. More...
 
void SetB (tU8 anV)
 Set teh B component of the FourCC. More...
 
void SetC (tU8 anV)
 Set the C component of the FourCC. More...
 
void SetD (tU8 anV)
 Set the D component of the FourCC. More...
 
tU8 GetA () const
 Get the A component of the FourCC. More...
 
tU8 GetB () const
 Get teh B component of the FourCC. More...
 
tU8 GetC () const
 Get the C component of the FourCC. More...
 
tU8 GetD () const
 Get the D component of the FourCC. More...
 
cString GetString () const
 Get the string translation of the FourCC. More...
 
tBool operator== (const FourCC &aFourCC) const
 Check if this FourCC is equal to another FourCC. More...
 
tBool operator!= (const FourCC &aFourCC) const
 Check if this FourCC is not equal to another FourCC. More...
 

Member Data Documentation

tU32 mnFourCC
tU8 mnA
tU8 mnB
tU8 mnC
tU8 mnD