µSer
|
The macros in this file are not defined by µSer, but can optionally be defined by application code before including uSer.hh to configure it. More...
Macros | |
#define | USER_EXCEPTIONS |
Enables exception support for µSer. More... | |
#define | USER_NO_SMARTPTR |
Disables smart pointer support for µSer. More... | |
#define | USER_NO_PRINT |
Disables printing support for µSer. More... | |
The macros in this file are not defined by µSer, but can optionally be defined by application code before including uSer.hh to configure it.
#define USER_EXCEPTIONS |
Enables exception support for µSer.
This macro can optionally be defined by applications before including the uSer.hh file to enable uSer's exception support. In that case, the uSer::serialize and uSer::deserialize functions always return void, and throw an instance of uSer::Exception in case of error.
#define USER_NO_PRINT |
Disables printing support for µSer.
This macro can optionally be defined by applications before including the uSer.hh file to disable uSer's support for printing data structures to std::ostream. When defined, the standard header <ostream> won't be included which might incur runtime overhead, and the function print won't be available.
#define USER_NO_SMARTPTR |
Disables smart pointer support for µSer.
This macro can optionally be defined by applications before including the uSer.hh file to disable uSer's support for standard library smart pointers. When defined, the standard header <memory> won't be included which might incur runtime overhead.