DUECA/DUSIME
Macros
dueca_ns.h File Reference

This file defines the namespace DUECA for dueca and dusime. More...

This graph shows which files directly or indirectly include this file:

Macros

#define DUECA_NS_ON   1
 If defined, the dueca classes are encapsulated in the dueca namespace. More...
 
#define DUECA_NS_START   namespace dueca {
 This is a shortcut for start of the namespace. More...
 
#define DUECA_NS_END   } /* namespace dueca */
 This is a shortcut for the end of the namespace. More...
 
#define DUECA_NS   dueca
 This defines the name of the dueca namespace. More...
 
#define CCDUECA_NS   ::dueca
 This defines the "absolute" dueca namespace, starting with a double colon. More...
 
#define USING_DUECA_NS   using namespace dueca;
 Use this define in your code, if you want to use the dueca namespace. More...
 
#define PRINT_NS_START   namespace std {
 This is used internally in DUECA, for printing (operator<<) functions.
 
#define PRINT_NS_END   }
 End printing function. More...
 
#define MSGPACKUS_NS_START   namespace msgunpack {
 A specific set of message-pack compatible routines for quick matching unpack. More...
 
#define MSGPACKUS_NS_END   }
 End of the message-pack compatible routines namespace. More...
 
#define CCMSGPACKUS_NS   ::msgunpack
 Absolute reference to message-pack compatible unpack routines.
 

Detailed Description

This file defines the namespace DUECA for dueca and dusime.

It defines the following macros:

Macro Definition Documentation

◆ DUECA_NS_ON

#define DUECA_NS_ON   1

If defined, the dueca classes are encapsulated in the dueca namespace.

◆ DUECA_NS_START

#define DUECA_NS_START   namespace dueca {

This is a shortcut for start of the namespace.

It should only be used within dueca/dusime code, not in application code.

◆ DUECA_NS_END

#define DUECA_NS_END   } /* namespace dueca */

This is a shortcut for the end of the namespace.

It should only be used within dueca/dusime code, not in application code.

◆ DUECA_NS

#define DUECA_NS   dueca

This defines the name of the dueca namespace.

◆ CCDUECA_NS

#define CCDUECA_NS   ::dueca

This defines the "absolute" dueca namespace, starting with a double colon.

◆ USING_DUECA_NS

#define USING_DUECA_NS   using namespace dueca;

Use this define in your code, if you want to use the dueca namespace.

◆ PRINT_NS_END

#define PRINT_NS_END   }

End printing function.

◆ MSGPACKUS_NS_START

#define MSGPACKUS_NS_START   namespace msgunpack {

A specific set of message-pack compatible routines for quick matching unpack.

◆ MSGPACKUS_NS_END

#define MSGPACKUS_NS_END   }

End of the message-pack compatible routines namespace.