Om
Namespaces | Macros
macro.hpp File Reference

Om header file. More...

#include "boost/preprocessor/stringize.hpp"
+ Include dependency graph for macro.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Om
 The Om library.
 
 Om::Macro
 A namespace for all code used to implement global macros.
 

Macros

#define Om_Macro_
 Defines a namespace for all global macros, aside from include guards. More...
 
#define Om_Macro_PrependZeroX_(theArgument)
 Prepends 0x. More...
 
#define Om_Macro_PrependSlashXAndStringize_(theArgument)
 Prepends \x and converts the result to a string literal. More...
 
#define Om_Macro_GetNumber_(theHex)
 Converts a bare hexadecimal to a numeric literal. More...
 
#define Om_Macro_GetString_(theHex)
 Converts a bare hexadecimal to a string literal. More...
 

Detailed Description

Version
0.1.3
Date
2012-2014
Author
Jason Erb

Definition in file macro.hpp.

Macro Definition Documentation

◆ Om_Macro_

#define Om_Macro_

All global preprocessor definitions (excluding include guards) should use this namespace to avoid clashes, regardless of where they are physically defined.

Definition at line 29 of file macro.hpp.

◆ Om_Macro_PrependZeroX_

#define Om_Macro_PrependZeroX_ (   theArgument)

Definition at line 36 of file macro.hpp.

◆ Om_Macro_PrependSlashXAndStringize_

#define Om_Macro_PrependSlashXAndStringize_ (   theArgument)

Definition at line 43 of file macro.hpp.

◆ Om_Macro_GetNumber_

#define Om_Macro_GetNumber_ (   theHex)

Definition at line 50 of file macro.hpp.

◆ Om_Macro_GetString_

#define Om_Macro_GetString_ (   theHex)

Definition at line 57 of file macro.hpp.