gwnavgeneration/generator/generatorguidcompound.h Source File
Go to the documentation of this file.
9 #ifndef GwNavGen_GeneratorGuidCompound_H
10 #define GwNavGen_GeneratorGuidCompound_H
bool AreGuidsEqual(const GeneratorGuidCompound &other) const
bool operator<(const GeneratorGuidCompound &other) const
void Sort()
Sorts the KyGuid objects in the array. For internal use.
bool operator==(const GeneratorGuidCompound &other) const
Note that this operator compare also the timeStamps so that we do the same as in GuidCompound but...
Definition: generatorguidcompound.h:52
General purpose array for movable objects that require explicit construction/destruction.
Definition: kyarray.h:118
KyUInt32 m_timeStamp
The last modification date of this object. Do not modify directly.
Definition: generatorguidcompound.h:70
bool DoesContain(const KyGuid &guid) const
void AddGuid(const KyGuid &guid)
Adds the specified KyGuid to the array maintained by this object.
Definition: gamekitcrowddispersion.h:20
The KyGuid class represents a globally unique ID.
Definition: kyguid.h:22
KyArray< KyGuid > m_guids
The array of KyGuid objects. Do not modify directly.
Definition: generatorguidcompound.h:69
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
GeneratorGuidCompound()
Constructs a new GeneratorGuidCompound with an empty KyGuid array.
Definition: generatorguidcompound.h:29
This class is a wrapper around an array of KyGuid objects.
Definition: generatorguidcompound.h:22
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
static const KyGuid & GetDefaultGuid()
Returns the default KyGuid value.
KyGuid GetMainGuid() const
Definition: generatorguidcompound.h:38
void InitFromBlob(const GuidCompound &guidCompound)
Initialize from guidCompound (blob)
void SetTimeStamp(KyUInt32 timeStamp)
Sets the last modified timestamp for this object to the specified value. For internal use...
Definition: generatorguidcompound.h:62