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) | |
Variant | createVariant (const DataType &type) const |
Create a variant from this data type (re-implementation) | |
size_t | getSize () const |
Retrieve the size of the instances of this data type (implementation) | |
const std::type_info & | getTypeInfo () const |
Retrieve the type information associated with this data type (re-implementation) | |
ImplT (const std::string &identifier) | |
Constructor. | |
bool | isFixedSize () const |
True, if this data type represents a fixed-size data type (implementation) | |
bool | isNumeric () const |
True, if this built-in data type is numeric (implementation) | |
bool | isSimple () const |
True, if this data type represents a simple data type (implementation) | |
virtual | ~ImplT () |
Destructor. |
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 variant_topic_tools::BuiltinDataType::ImplT< T >::~ImplT | ( | ) | [virtual] |
Destructor.
variant_topic_tools::BuiltinDataType::ImplT< T >::BOOST_STATIC_ASSERT | ( | type_traits::IsBuiltin< T >::value | ) |
Serializer variant_topic_tools::BuiltinDataType::ImplT< T >::createSerializer | ( | const DataType & | type | ) | const [virtual] |
Create a serializer for this data type (re-implementation)
Implements variant_topic_tools::DataType::Impl.
Variant variant_topic_tools::BuiltinDataType::ImplT< T >::createVariant | ( | const DataType & | type | ) | const [virtual] |
Create a variant from this data type (re-implementation)
Implements variant_topic_tools::DataType::Impl.
size_t variant_topic_tools::BuiltinDataType::ImplT< T >::getSize | ( | ) | const [virtual] |
Retrieve the size of the instances of this data type (implementation)
Implements variant_topic_tools::DataType::Impl.
const std::type_info& variant_topic_tools::BuiltinDataType::ImplT< T >::getTypeInfo | ( | ) | const [virtual] |
Retrieve the type information associated with this data type (re-implementation)
Reimplemented from variant_topic_tools::DataType::Impl.
bool variant_topic_tools::BuiltinDataType::ImplT< T >::isFixedSize | ( | ) | const [virtual] |
True, if this data type represents a fixed-size data type (implementation)
Implements variant_topic_tools::DataType::Impl.
bool variant_topic_tools::BuiltinDataType::ImplT< T >::isNumeric | ( | ) | const [virtual] |
True, if this built-in data type is numeric (implementation)
Implements variant_topic_tools::BuiltinDataType::Impl.
bool variant_topic_tools::BuiltinDataType::ImplT< T >::isSimple | ( | ) | const [virtual] |
True, if this data type represents a simple data type (implementation)
Implements variant_topic_tools::DataType::Impl.