#include <c4d_baselist.h>
A unique marker that identifies an object.
Public Member Functions | |
| Bool | IsPopulated () const |
| Bool | IsEqual (const GeMarker &m) const |
| Int32 | Compare (const GeMarker &m) const |
| void | Set (const GeMarker &m) |
| Bool | Read (HyperFile *hf) |
| Bool | Write (HyperFile *hf) const |
| void | GetMemory (void *&data, Int32 &size) const |
Static Public Member Functions | |
| static GeMarker * | Alloc () |
| static void | Free (GeMarker *&obj) |
Private Member Functions | |
| GeMarker () | |
| ~GeMarker () | |
|
private |
|
private |
|
static |
|
static |
| Bool IsPopulated | ( | ) | const |
Checks if the marker is empty.
Checks if two markers are equal.
| [in] | m | The marker to compare with. |
Compares two markers.
| [in] | m | The marker to compare with. |
| void Set | ( | const GeMarker & | m | ) |
Sets a marker the same as another marker.
| [in] | m | The new marker. |
Reads the marker from a hyper file.
| [in] | hf | The hyper file to read from. The caller owns the pointed object. |
Writes the marker to a hyper file.
| [in] | hf | The hyper file to write to. The caller owns the pointed object. |
| void GetMemory | ( | void *& | data, |
| Int32 & | size | ||
| ) | const |
Gets a memory pointer and the size of the memory block.
Used for instance to create a checksum.
| [out] | data | The memory pointer. |
| [out] | size | The size of the memory block. |