25 MxAtom* atom = GetAtom(p_str, p_mode);
39void MxAtomId::Destroy()
54 MxAtomSet::iterator it;
60 MxAtomSet::iterator it =
AtomSet()->find(&
MxAtom(m_internal));
81 m_internal = p_atomId.m_internal;
106 MxAtomSet::iterator it =
AtomSet()->find(atom);
[AI] Atomized (unique) string identifier, managed by reference counting.
void Clear()
[AI] Disassociates the atom ID from any atom (decrements reference count, sets internal pointer to NU...
~MxAtomId()
[AI] Destructor for atom ID.
MxAtomId()
[AI] Constructs a null/empty atom ID.
MxAtomId & operator=(const MxAtomId &p_atomId)
[AI] Copy assignment operator.
[AI] Set of unique atom pointers, managed with custom comparison for atomization and fast lookup.
[AI] Key-value pair representing a unique string (atom) and its reference count.
MxString & GetKey()
[AI] Gets the atom key (the string stored in this atom).
void Dec()
[AI] Decrements the usage count for this atom.
void Inc()
[AI] Increments the usage count for this atom, indicating one more client is using it.
static MxOmni * GetInstance()
[AI] Returns the singleton instance of the MxOmni subsystem coordinator.
void ToLowerCase()
Converts the string contents to lowercase in-place.
void ToUpperCase()
Converts the string contents to uppercase in-place.
#define DECOMP_SIZE_ASSERT(T, S)
#define NULL
[AI] Null pointer value (C/C++ semantics).
LookupMode
[AI] Lookup mode used to control case sensitivity and normalization when atomizing strings.
@ e_upperCase
[AI] Convert the string to upper case before matching/creating.
@ e_lowerCase2
[AI] Alternative or legacy lower case mode, functionally equivalent to e_lowerCase.
@ e_exact
[AI] Match the string exactly, no case change.
@ e_lowerCase
[AI] Convert the string to lower case before matching/creating.
MxAtomSet * AtomSet()
[AI] Returns the single atom set for global registered atom/value pairs.