![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cAtom.h>
Public Member Functions | |
cAtomRef (const THIS_t &ref) noexcept | |
cAtomRef (const STR_t &sName) noexcept | |
cAtomRef (const ATOMCHAR_t *pszName="") noexcept | |
~cAtomRef () | |
size_t | GetHeapStats (OUT ITERATE_t &iAllocCount) const |
ATOMCODE_t | get_HashCode () const noexcept |
const STR_t & | get_StrA () const noexcept |
const ATOMCHAR_t * | get_CPtr () const noexcept |
< as a C string More... | |
operator const ATOMCHAR_t * () const noexcept | |
< as a C string More... | |
bool | isValidCheck () const noexcept |
bool | IsEmpty () const |
StrLen_t | GetLength () const |
bool | operator== (const cAtomRef &atom) const noexcept |
COMPARE_t | CompareNoCase (const ATOMCHAR_t *pStr) const |
bool | operator== (const ATOMCHAR_t *pStr) const |
const THIS_t & | operator= (const THIS_t &atom) |
const THIS_t & | operator= (const ATOMCHAR_t *pStr) |
const THIS_t & | operator= (const STR_t &sStr) |
void | EmptyAtom () |
void | SetAtomStatic () |
Static Public Member Functions | |
static void __stdcall | CreateStaticAtoms (const ATOMCHAR_t **ppAtoms) |
static cAtomRef __stdcall | FindAtomStr (const ATOMCHAR_t *pszText) |
static cAtomRef __stdcall | FindAtomHashCode (ATOMCODE_t idAtomCode) |
static HRESULT __stdcall | CheckSymbolicStr (const ATOMCHAR_t *pszTag, bool bAllowDots=false) |
static StrLen_t __stdcall | GetSymbolicStr (OUT ATOMCHAR_t *pszTag, const ATOMCHAR_t *pszExp, bool bAllowDots=false) |
Friends | |
class | cAtomManager |
class | cAtomTests |
A single string name shared by all. Similar to the _WIN32 ATOM GlobalAddAtom(). but not system shared of course. case independent. e.g. THIS==this=>same atom.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
static |
Is this a simple 'c' style identifier/symbolic string? starts with a char and can have numbers.
|
inline |
|
static |
For use with CATOM_STATIC()
|
inline |
|
static |
Get this hash id if a valid atom hash
|
static |
Find the atom in the atom table if it exists.
|
inlinenoexcept |
< as a C string
|
inlinenoexcept |
particular hash value is not important. Value just needs to be unique and consistent on a single machine.
|
inlinenoexcept |
size_t Gray::cAtomRef::GetHeapStats | ( | OUT ITERATE_t & | iAllocCount | ) | const |
Every user of the atom dears 1/n of the usage of the memory return SUPER_t::GetHeapStats(iAllocCount);
|
inline |
|
static |
Parse the string and make a legal symbolic name using only valid symbols characters.
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
< as a C string
|
inline |
|
inline |
void Gray::cAtomRef::SetAtomStatic | ( | ) |
Make this atom permanent. never removed from the atom table.
|
friend |
|
friend |