ADTF
|
Convenience class to create a valid predefined Data Definition with predefined types. More...
Public Types | |
enum class | CreateOption { use_all_types = 0 , use_std_types_only = 1 , use_ddl_types_only = 2 } |
CreateOption for create. More... | |
Static Public Member Functions | |
static dd::DataDefinition | create (CreateOption create_option=CreateOption::use_all_types) |
Creates a default data defintion with predefined types, base units and unit prefixes. More... | |
Convenience class to create a valid predefined Data Definition with predefined types.
This implementation can be used as follows:
Definition at line 33 of file dddefault.h.
|
strong |
CreateOption for create.
Enumerator | |
---|---|
use_all_types | add all predefined data types to the result of DDDefault::create return value. |
use_std_types_only | add only predefined types to the result of DDDefault::create return value that belongs to the C++ standard data types:
|
use_ddl_types_only | add only predefined types to the result of DDDefault::create return value that belongs to the ddl data types:
|
Definition at line 38 of file dddefault.h.
|
static |
Creates a default data defintion with predefined types, base units and unit prefixes.
create_option | choose an option to create with all defined types, with standard types only or with ddl types only. |