|
Falcon
|
Convenient template class to define data types. More...
#include <idata.hpp>
Public Types | |
| using | Data = DATA |
| using | Parameters = PARAMS |
| using | Capabilities = CAPS |
| using | Base = BASETYPE |
Static Public Member Functions | |
| static const std::string | datatype () |
| static const std::string | dataname () |
| static bool | ispure () |
Convenient template class to define data types.
There are two required and three optional template arguments: DATA: the associated data object class. BASETYPE: the parent data type. pure: optional, boolean argument indicating if data object is pure (i.e., its members/parameters are independent from parent). CAPS: optional, the capabilities class associated with the data object class. Default is DATA::Capabilities. PARAMS: optional, the parameters class associated with the data object class. Default is DATA::Parameters.