refl-cpp
refl::attr Namespace Reference

Contains the definitions of the built-in attributes. More...

Namespaces

 usage
 Contains a number of constraints applicable to refl-cpp attributes.
 

Classes

struct  base_types
 Used to specify the base types of the target type. More...
 
struct  debug
 Used to specify how a type should be displayed in debugging contexts. More...
 
struct  property
 Used to decorate a function that serves as a property. More...
 

Detailed Description

Contains the definitions of the built-in attributes.

Contains the definitions of the built-in attributes which are implicitly available in macro context as well as the attr::usage namespace which contains constraints for user-provieded attributes.

Examples

REFL_TYPE(Point, debug(custom_printer))
REFL_FIELD(x)
REFL_FIELD(y)
REFL_END
refl::runtime::debug
void debug(std::basic_ostream< CharT > &os, const T &value, bool compact=false)
REFL_TYPE
#define REFL_TYPE(TypeName,...)
Creates reflection information for a specified type.
Definition: refl.hpp:4299