|
ADTF
|
type Base defintion More...
#include <datamodel_types.h>
Inherited by ddl::dd::datamodel::DataType, ddl::dd::datamodel::EnumType, ddl::dd::datamodel::StreamMetaType, and ddl::dd::datamodel::StructType.
Public Member Functions | |
| TypeBase ()=default | |
| CTOR. | |
| TypeBase (const TypeBase &)=default | |
| copy CTOR | |
| TypeBase (TypeBase &&)=default | |
| move CTOR | |
| TypeBase & | operator= (const TypeBase &)=default |
| copy assignment operator | |
| TypeBase & | operator= (TypeBase &&)=default |
| move assignment operator | |
| TypeBase (std::string name) | |
| CTOR. | |
| virtual | ~TypeBase ()=default |
| DTOR. | |
| virtual TypeOfType | getTypeOfType () const =0 |
| Get the Type Of the Type (data_type, enum_type, struct_type, stream_meta_type). | |
| virtual void | setName (const std::string &name) |
| Set the Name. | |
| const std::string & | getName () const |
| Get the Name. | |
Protected Attributes | |
| std::string | _name |
| name storage value | |
type Base defintion
| ddl::dd::datamodel::TypeBase::TypeBase | ( | std::string | name | ) |
CTOR.
| name | The name of the type |
| const std::string & ddl::dd::datamodel::TypeBase::getName | ( | ) | const |
Get the Name.
|
pure virtual |
Get the Type Of the Type (data_type, enum_type, struct_type, stream_meta_type).
Implemented in ddl::dd::datamodel::DataType, ddl::dd::datamodel::EnumType, ddl::dd::datamodel::StreamMetaType, and ddl::dd::datamodel::StructType.
copy assignment operator
move assignment operator
|
virtual |
Set the Name.
| name | The name of type. |
| This | might throw if the set name does already exist in the container this type is part of. |
Reimplemented in ddl::dd::datamodel::DataType, ddl::dd::datamodel::EnumType, ddl::dd::datamodel::StreamMetaType, and ddl::dd::datamodel::StructType.