#include <Name.hpp>
Public Member Functions | |
CONST TCHAR * | operator * () CONST |
BOOL | operator== (CONST Name &Other) CONST |
BOOL | operator!= (CONST Name &Other) CONST |
operator DWORD () CONST | |
operator EName () CONST | |
Name () | |
Name (DWORD InIndex) | |
Name (EName InIndex) | |
Name (CONST TCHAR *Name, BOOL FindExisting=FALSE) | |
Static Public Member Functions | |
static BOOL | Startup () |
static BOOL | Shutdown () |
static BOOL | GetInitialized () |
static CONST TCHAR * | Safe (EName InName) |
Static Private Attributes | |
static BOOL | G_Initialized = FALSE |
static CriticalResource < NameVector > | G_Names |
static CriticalResource < Array< DWORD > > | G_Available |
static CriticalResource < NameVector > | G_Buckets [4096] |
Classes | |
struct | Entry |
Name entry. More... |
System::Name::Name | ( | ) |
Default constructor.
System::Name::Name | ( | DWORD | InIndex | ) |
Initialize with index of a name in the table.
System::Name::Name | ( | EName | InIndex | ) |
Initialize with index of a static name.
System::Name::Name | ( | CONST TCHAR * | Name, | |
BOOL | FindExisting = FALSE | |||
) |
Find name in the hash table.
BOOL System::Name::Startup | ( | ) | [static] |
Startup routine for the name subsystem.
BOOL System::Name::Shutdown | ( | ) | [static] |
Shutdown routine for the name subsystem.
BOOL System::Name::GetInitialized | ( | ) | [static] |
Return whether or not the subsystem is initialized.
CONST TCHAR * System::Name::Safe | ( | EName | InName | ) | [static] |
Retrieve the string of a name safely.
CONST TCHAR * System::Name::operator * | ( | ) |
Return name value.
BOOL System::Name::operator== | ( | CONST Name & | Other | ) |
Binary comparison with other name (equal to).
BOOL System::Name::operator!= | ( | CONST Name & | Other | ) |
Binary comparison with other name (not equal to).
System::Name::operator DWORD | ( | ) |
Return the index of the name.
System::Name::operator EName | ( | ) |
Return the index of the name.
BOOL System::Name::G_Initialized = FALSE [static, private] |
Whether or not the name subsystem is initialized.
CriticalResource< Name::NameVector > System::Name::G_Names [static, private] |
Global array of names managed by the name subsystem.
CriticalResource< Array< DWORD > > System::Name::G_Available [static, private] |
A list of available name array elements.
CriticalResource< Name::NameVector > System::Name::G_Buckets [static, private] |
Hash table name buckets, with names managed by the name subsystem.