![]() |
MHEG5
22.11.0
|
Basis MHEG5 data types. More...
Go to the source code of this file.
Classes | |
| struct | SMHEG5IntPair |
| struct | sMHEG5String |
| struct | sMH5GroupRef |
| struct | sMHEG5ObjectReference |
| struct | MHEG5Generic |
| struct | sMHEG5GList |
| struct | sParamList |
| struct | sMHEG5FontBody |
Macros | |
| #define | MHEG5FALSE (0) |
| #define | MHEG5TRUE (-1) |
| #define | MHEG5strncmp(a, b, n) strncmp((char *)a, (char *)b, n) |
| #define | MHEG5strcmp(a, b) strcmp((char *)a, (char *)b) |
| #define | INVALID_GRP_REF 0 |
| #define | MHEG5colourInit MHEG5genericSet |
| #define | MHEG5colourDestruct MHEG5genericDestruct |
Typedefs | |
| typedef short | MHEG5Bool |
| typedef short | MHEG5Short |
| typedef S32BIT | MHEG5Int |
| typedef unsigned char | MHEG5Byte |
| typedef struct SMHEG5IntPair | MHEG5IntPair |
| typedef struct sMHEG5String | MHEG5String |
| typedef struct sMHEG5Group | sMHEG5Group |
| typedef MHEG5Int | MH5GroupId |
| typedef struct sMHEG5Group * | MH5GroupPtr |
| typedef struct sMH5GroupRef | MH5GroupRef |
| typedef struct sMHEG5ObjectReference | MHEG5ObjectReference |
| typedef MHEG5Bool | MHEG5Boolean |
| typedef struct sMHEG5GList | MHEG5GList |
| typedef MHEG5Generic | MHEG5Colour |
| typedef struct sParamList | ParamList |
| typedef struct sMHEG5FontBody | MHEG5FontBody |
Functions | |
| MHEG5String | MHEG5stringCopy (MHEG5String source) |
| <Function description>=""> More... | |
| MHEG5String | MHEG5stringCopyChr (const char *source) |
| Copy the C-String source to a MHEG5String. More... | |
| MHEG5String | MHEG5stringCat (MHEG5String string1, MHEG5String string2) |
| Concatenate two MHEG5Strings. More... | |
| void | MHEG5stringDestruct (MHEG5String *item) |
| Destruct a MHEG5String. More... | |
| MHEG5Int | MHEG5strToInt (MHEG5String string) |
| Convert a MHEG5String to a MHEG5Integer. More... | |
| MHEG5Bool | MHEG5stringEqual (MHEG5String *s1, MHEG5String *s2) |
| Compare two Strings (case sensitive!) More... | |
| MHEG5String | MHEG5intToStr (MHEG5Int i) |
| Convert MHEG5Int to MHEG5String. More... | |
| void | MHEG5genericSet (MHEG5Generic *item, MHEG5Int initialValue) |
| Set a MHEG5Generic to the MHEG5Int value. More... | |
| void | MHEG5genericDestruct (MHEG5Generic *item) |
| Destruct a MHEG5Generic. More... | |
| MHEG5Bool | MHEG5genericEqual (MHEG5Generic *g1, MHEG5Generic *g2) |
| Compare two generic Variables. More... | |
| void | MHEG5genericCopy (MHEG5Generic *dest, MHEG5Generic *src) |
| Copy a MHEG5Generic. More... | |
| void | MHEG5gListDestruct (MHEG5GList *item) |
| Destruct a list of MHEG5Generic objects. More... | |
| MHEG5GList * | MHEG5gListCopy (MHEG5GList *list) |
| Copy a list of MHEG5Generic objects. More... | |
| U32BIT | MHEG5random (void) |
| Calculate and return a psuedo random number. More... | |
| char * | MHEG5safeStrcat (char *dest, size_t destLength, const char *source) |
| Perform a standard strcat restricted to the length of the destination. The dest string will always be null terminated. More... | |
Basis MHEG5 data types.
| void MHEG5genericCopy | ( | MHEG5Generic * | dest, |
| MHEG5Generic * | src | ||
| ) |
| void MHEG5genericDestruct | ( | MHEG5Generic * | item | ) |
| MHEG5Bool MHEG5genericEqual | ( | MHEG5Generic * | g1, |
| MHEG5Generic * | g2 | ||
| ) |
Compare two generic Variables.
| MHEG5Generic | * g1 |
| MHEG5Generic | * g2 |
| void MHEG5genericSet | ( | MHEG5Generic * | item, |
| MHEG5Int | initialValue | ||
| ) |
Set a MHEG5Generic to the MHEG5Int value.
| MHEG5Generic | * item |
| MHEG5Int | initialValue |
| MHEG5GList* MHEG5gListCopy | ( | MHEG5GList * | list | ) |
Copy a list of MHEG5Generic objects.
| MHEG5GList | *list |
| void MHEG5gListDestruct | ( | MHEG5GList * | item | ) |
| MHEG5String MHEG5intToStr | ( | MHEG5Int | i | ) |
Convert MHEG5Int to MHEG5String.
| MHEG5Int | i |
| U32BIT MHEG5random | ( | void | ) |
Calculate and return a psuedo random number.
| char* MHEG5safeStrcat | ( | char * | dest, |
| size_t | destLength, | ||
| const char * | source | ||
| ) |
Perform a standard strcat restricted to the length of the destination. The dest string will always be null terminated.
| dest | Destination to concatenate string to. |
| destLength | Maximum length of the destination string, including null termination. |
| source | Null terminated string to concatenate with the destination. |
| MHEG5String MHEG5stringCat | ( | MHEG5String | source1, |
| MHEG5String | source2 | ||
| ) |
Concatenate two MHEG5Strings.
| MHEG5String | source1 |
| MHEG5String | source2 |
| MHEG5String MHEG5stringCopy | ( | MHEG5String | source | ) |
<Function description>="">
| MHEG5String | source |
| MHEG5String MHEG5stringCopyChr | ( | const char * | source | ) |
Copy the C-String source to a MHEG5String.
| char | *source |
| void MHEG5stringDestruct | ( | MHEG5String * | item | ) |
Destruct a MHEG5String.
| MHEG5String | item |
| MHEG5Bool MHEG5stringEqual | ( | MHEG5String * | s1, |
| MHEG5String * | s2 | ||
| ) |
Compare two Strings (case sensitive!)
| MHEG5String | s1 |
| MHEG5String | s2 |
| MHEG5Int MHEG5strToInt | ( | MHEG5String | string | ) |
Convert a MHEG5String to a MHEG5Integer.
| MHEG5String | string |
1.8.11