#include <C4Id.h>
Public Types | |
typedef size_t | Handle |
typedef size_t C4ID::* | safe_bool_type |
Public Member Functions | |
C4ID () | |
C4ID (const C4ID &other)=default | |
C4ID & | operator= (const C4ID &other)=default |
C4ID (const std::string &s) | |
C4ID (const StdStrBuf &s) | |
C4ID (Handle i) | |
const char * | ToString () const |
operator std::string () const | |
Handle | GetHandle () const |
void | CompileFunc (StdCompiler *pComp) |
bool | operator== (const C4ID &other) const |
bool | operator!= (const C4ID &other) const |
bool | operator< (const C4ID &other) const |
bool | operator> (const C4ID &other) const |
bool | operator<= (const C4ID &other) const |
bool | operator>= (const C4ID &other) const |
operator safe_bool_type () const | |
Static Public Attributes | |
static const C4ID | None |
static const C4ID | Clonk |
static const C4ID | Bubble |
static const C4ID | EditorBase |
typedef size_t C4ID::Handle |
typedef size_t C4ID::* C4ID::safe_bool_type |
|
inline |
Definition at line 44 of file C4Id.h.
Referenced by CompileFunc().
|
default |
|
explicit |
|
inlineexplicit |
|
inlineexplicit |
void C4ID::CompileFunc | ( | StdCompiler * | pComp | ) |
Definition at line 51 of file C4Id.cpp.
References C4ID(), StdBuf::DeletePointer(), StdCompiler::isSerializer(), StdCompiler::RCT_ID, and StdCompiler::String().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 56 of file C4Id.h.
Referenced by C4MainMenu::ActivateGoals(), C4MainMenu::ActivateRules(), c4_mapgen_handle_set_map_library(), C4Game::CheckObjectEnumeration(), C4ObjectMenu::DoRefillInternal(), C4Object::GetDataString(), C4GameParameters::GetGameGoalString(), C4DefGraphics::LoadMesh(), C4Game::ReloadDef(), and C4LSectors::Remove().
|
static |
Definition at line 40 of file C4Id.h.
Referenced by C4SPlrStart::CompileFunc(), and C4ObjectInfoList::New().
|
static |
Definition at line 39 of file C4Id.h.
Referenced by C4ValueConv< C4ID >::_FromC4V(), C4GameObjects::Add(), C4Landscape::P::BlastMaterial2Objects(), C4MouseControl::ButtonUpDragScript(), C4PlayerInfo::Clear(), C4GUI::FrameDecoration::Clear(), C4MaterialCore::Clear(), C4PlayerControlDef::CompileFunc(), C4PlayerInfo::CompileFunc(), C4MaterialCore::CompileFunc(), C4Def::CompileFunc(), C4ObjectInfoCore::CompileFunc(), C4Object::CompileFunc(), C4MouseControl::Default(), C4Object::Default(), C4Def::DefaultDefCore(), DefFileGetID(), C4Landscape::P::DigMaterial2Objects(), C4Menu::DrawElement(), C4GameParameters::GetGameGoalString(), C4IDList::GetID(), C4ObjectList::GetListID(), C4ObjectInfoList::New(), C4Game::ObjectCount(), C4ObjectList::ObjectCount(), and operator safe_bool_type().