Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cAtom.h File Reference
#include "cString.h"
#include "HResult.h"
#include "cUnitTestDecl.h"

Go to the source code of this file.

Classes

class  Gray::cAtomDef
 
class  Gray::cAtomRef
 

Namespaces

 Gray
 < The main namespace for all Core functions.
 

Macros

#define CATOM_STR(a)   a
 Part of a static atom quoted string. for concatenate use. e.g. "Tag_XX". More...
 
#define CATOM_CAT(a, b)   a##b
 https://gcc.gnu.org/onlinedocs/cpp/Concatenation.html#Concatenation More...
 
#define CATOM_STATIC(a)   #a
 A static atom defined in the code. (e.g."SymName","Root") More...
 
#define CATOM_STATSTR(a)   #a
 A static atom i know is defined some place, but i just want to use the string here. More...
 

Typedefs

typedef HASHCODE32_t Gray::ATOMCODE_t
 Encode a atom as a 32 bit hashcode instead of using its name/pointer. StrT::GetHashCode32() More...
 
typedef cRefPtr< cAtomDef > Gray::cAtomDefPtr
 

Detailed Description

Macro Definition Documentation

◆ CATOM_CAT

#define CATOM_CAT (   a,
 
)    a##b

◆ CATOM_STATIC

#define CATOM_STATIC (   a)    #a

A static atom defined in the code. (e.g."SymName","Root")

◆ CATOM_STATSTR

#define CATOM_STATSTR (   a)    #a

A static atom i know is defined some place, but i just want to use the string here.

◆ CATOM_STR

#define CATOM_STR (   a)    a

Part of a static atom quoted string. for concatenate use. e.g. "Tag_XX".