ADTF
|
type Base defintion More...
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 More... | |
TypeBase & | operator= (TypeBase &&)=default |
move assignment operator More... | |
TypeBase (const std::string &name) | |
CTOR. More... | |
virtual | ~TypeBase ()=default |
DTOR. | |
virtual TypeOfType | getTypeOfType () const =0 |
Get the Type Of the Type (data_type, enum_type, struct_type, stream_meta_type). More... | |
virtual void | setName (const std::string &name) |
Set the Name. More... | |
const std::string & | getName () const |
Get the Name. More... | |
Protected Attributes | |
std::string | _name |
name storage value | |
type Base defintion
Definition at line 38 of file datamodel_types.h.
TypeBase | ( | const std::string & | name | ) |
CTOR.
name | The name of the type |
const std::string& getName | ( | ) | const |
Get the Name.
|
pure virtual |
Get the Type Of the Type (data_type, enum_type, struct_type, stream_meta_type).
Implemented in StreamMetaType, StructType, EnumType, and DataType.
|
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 StreamMetaType, StructType, EnumType, and DataType.