Built-in data type implementation (templated strong-typed version) More...
#include <BuiltinDataType.h>
Public Member Functions | |
BOOST_STATIC_ASSERT (type_traits::IsBuiltin< T >::value) | |
Serializer | createSerializer (const DataType &type) const |
Create a serializer for this data type (re-implementation) More... | |
Variant | createVariant (const DataType &type) const |
Create a variant from this data type (re-implementation) More... | |
size_t | getSize () const |
Retrieve the size of the instances of this data type (implementation) More... | |
const std::type_info & | getTypeInfo () const |
Retrieve the type information associated with this data type (re-implementation) More... | |
ImplT (const std::string &identifier) | |
Constructor. More... | |
bool | isFixedSize () const |
True, if this data type represents a fixed-size data type (implementation) More... | |
bool | isNumeric () const |
True, if this built-in data type is numeric (implementation) More... | |
bool | isSimple () const |
True, if this data type represents a simple data type (implementation) More... | |
virtual | ~ImplT () |
Destructor. More... | |
Public Member Functions inherited from variant_topic_tools::BuiltinDataType::Impl | |
const std::string & | getIdentifier () const |
Retrieve the identifier representing this data type (implementation) More... | |
Impl (const std::string &identifier) | |
Constructor. More... | |
virtual | ~Impl () |
Destructor. More... | |
Public Member Functions inherited from variant_topic_tools::DataType::Impl | |
Impl () | |
Constructor. More... | |
Additional Inherited Members | |
Public Attributes inherited from variant_topic_tools::BuiltinDataType::Impl | |
std::string | identifier |
The identifier representing this built-in data type. More... | |
Built-in data type implementation (templated strong-typed version)
Definition at line 93 of file BuiltinDataType.h.
variant_topic_tools::BuiltinDataType::ImplT< T >::ImplT | ( | const std::string & | identifier | ) |
Constructor.
|
virtual |
Destructor.
variant_topic_tools::BuiltinDataType::ImplT< T >::BOOST_STATIC_ASSERT | ( | type_traits::IsBuiltin< T >::value | ) |
|
virtual |
Create a serializer for this data type (re-implementation)
Implements variant_topic_tools::DataType::Impl.
|
virtual |
Create a variant from this data type (re-implementation)
Implements variant_topic_tools::DataType::Impl.
|
virtual |
Retrieve the size of the instances of this data type (implementation)
Implements variant_topic_tools::DataType::Impl.
|
virtual |
Retrieve the type information associated with this data type (re-implementation)
Reimplemented from variant_topic_tools::DataType::Impl.
|
virtual |
True, if this data type represents a fixed-size data type (implementation)
Implements variant_topic_tools::DataType::Impl.
|
virtual |
True, if this built-in data type is numeric (implementation)
Implements variant_topic_tools::BuiltinDataType::Impl.
|
virtual |
True, if this data type represents a simple data type (implementation)
Implements variant_topic_tools::DataType::Impl.