|
Dev Essential
|
Convenience class to create a valid predefined Data Definition with predefined types.
This implementation can be used as follows:
More...
#include <dddefault.h>
Public Types | |
| enum class | CreateOption { use_all_types = 0 , use_std_types_only = 1 , use_ddl_types_only = 2 } |
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. | |
Convenience class to create a valid predefined Data Definition with predefined types.
This implementation can be used as follows:
|
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:
|
|
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. |