Built-in data type implementation. More...
#include <BuiltinDataType.h>
Public Member Functions | |
const std::string & | getIdentifier () const |
Retrieve the identifier representing this data type (implementation) More... | |
Impl (const std::string &identifier) | |
Constructor. More... | |
virtual bool | isNumeric () const =0 |
True, if this built-in data type is numeric (abstract declaration) More... | |
virtual | ~Impl () |
Destructor. More... | |
Public Member Functions inherited from variant_topic_tools::DataType::Impl | |
virtual Serializer | createSerializer (const DataType &type) const =0 |
Create a serializer for this data type (abstract declaration) More... | |
virtual Variant | createVariant (const DataType &type) const =0 |
Create a variant from this data type (abstract declaration) More... | |
virtual size_t | getSize () const =0 |
Retrieve the size of the instances of this data type (abstract declaration) More... | |
virtual const std::type_info & | getTypeInfo () const |
Retrieve the type information associated with this data type. More... | |
Impl () | |
Constructor. More... | |
virtual bool | isFixedSize () const =0 |
True, if this data type represents a fixed-size data type (abstract declaration) More... | |
virtual bool | isSimple () const =0 |
True, if this data type represents a simple data type (abstract declaration) More... | |
Public Attributes | |
std::string | identifier |
The identifier representing this built-in data type. More... | |
Built-in data type implementation.
Definition at line 64 of file BuiltinDataType.h.
variant_topic_tools::BuiltinDataType::Impl::Impl | ( | const std::string & | identifier | ) |
Constructor.
Definition at line 43 of file BuiltinDataType.cpp.
|
virtual |
Destructor.
Reimplemented from variant_topic_tools::DataType::Impl.
Definition at line 47 of file BuiltinDataType.cpp.
|
virtual |
Retrieve the identifier representing this data type (implementation)
Implements variant_topic_tools::DataType::Impl.
Definition at line 61 of file BuiltinDataType.cpp.
|
pure virtual |
True, if this built-in data type is numeric (abstract declaration)
Implemented in variant_topic_tools::BuiltinDataType::ImplT< T >.
std::string variant_topic_tools::BuiltinDataType::Impl::identifier |
The identifier representing this built-in data type.
Definition at line 87 of file BuiltinDataType.h.