#include <C4NameList.h>
Public Member Functions | |
void | Clear () |
bool | Add (const char *szName, int32_t iCount=0) |
bool | Set (const char *szName, int32_t iCount) |
bool | IsEmpty () |
bool | operator== (const C4NameList &rhs) |
void | CompileFunc (StdCompiler *pComp, bool fValues=true) |
Public Attributes | |
char | Name [C4MaxNameList][C4MaxName+1] = { { 0 } } |
int32_t | Count [C4MaxNameList] = { 0 } |
Definition at line 28 of file C4NameList.h.
bool C4NameList::Add | ( | const char * | szName, |
int32_t | iCount = 0 |
||
) |
Definition at line 50 of file C4NameList.cpp.
References C4MaxName, C4MaxNameList, Count, Name, and SCopy().
void C4NameList::Clear | ( | ) |
Definition at line 23 of file C4NameList.cpp.
References InplaceReconstruct().
Referenced by C4SLandscape::Default().
void C4NameList::CompileFunc | ( | StdCompiler * | pComp, |
bool | fValues = true |
||
) |
Definition at line 72 of file C4NameList.cpp.
References C4MaxName, C4MaxNameList, Count, StdCompiler::isDeserializer(), mkDefaultAdapt(), mkStringAdapt(), Name, StdCompiler::RCT_Idtf, StdCompiler::SEP_SEP2, StdCompiler::SEP_SET, StdCompiler::Separator(), and StdCompiler::Value().
bool C4NameList::IsEmpty | ( | ) |
Definition at line 64 of file C4NameList.cpp.
References Name.
|
inline |
Definition at line 39 of file C4NameList.h.
bool C4NameList::Set | ( | const char * | szName, |
int32_t | iCount | ||
) |
Definition at line 28 of file C4NameList.cpp.
References C4MaxName, C4MaxNameList, Count, Name, SCopy(), and SEqual().
int32_t C4NameList::Count[C4MaxNameList] = { 0 } |
Definition at line 32 of file C4NameList.h.
Referenced by Add(), CompileFunc(), C4MapCreator::Create(), and Set().
char C4NameList::Name[C4MaxNameList][C4MaxName+1] = { { 0 } } |
Definition at line 31 of file C4NameList.h.
Referenced by Add(), CompileFunc(), C4MapCreator::Create(), IsEmpty(), and Set().