ADTF  3.18.2
dddefault.h
Go to the documentation of this file.
1 
15 #ifndef DDDEFAULT_H_INCLUDED
16 #define DDDEFAULT_H_INCLUDED
17 
18 #include <ddl/dd/dd.h>
19 
20 namespace ddl {
33 class DDDefault {
34 public:
38  enum class CreateOption {
42  use_all_types = 0,
57  };
68 };
69 
70 } // namespace ddl
71 
72 #endif // DDDEFAULT_H_INCLUDED
Convenience class to create a valid predefined Data Definition with predefined types.
Definition: dddefault.h:33
CreateOption
CreateOption for create.
Definition: dddefault.h:38
@ use_std_types_only
add only predefined types to the result of DDDefault::create return value that belongs to the C++ sta...
@ use_ddl_types_only
add only predefined types to the result of DDDefault::create return value that belongs to the ddl dat...
@ use_all_types
add all predefined data types to the result of DDDefault::create return value.
static dd::DataDefinition create(CreateOption create_option=CreateOption::use_all_types)
Creates a default data defintion with predefined types, base units and unit prefixes.
The Data Definiton class uses the validation model to keep a Data Definition datamodel (ddl::dd::data...
Definition: dd.h:87
OO DataDefinition - Data Definition.