Public Member Functions | List of all members
variant_topic_tools::BuiltinDataType::ImplT< T > Class Template Reference

Built-in data type implementation (templated strong-typed version) More...

#include <BuiltinDataType.h>

Inheritance diagram for variant_topic_tools::BuiltinDataType::ImplT< T >:
Inheritance graph
[legend]

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...
 

Detailed Description

template<typename T>
class variant_topic_tools::BuiltinDataType::ImplT< T >

Built-in data type implementation (templated strong-typed version)

Definition at line 93 of file BuiltinDataType.h.

Constructor & Destructor Documentation

template<typename T >
variant_topic_tools::BuiltinDataType::ImplT< T >::ImplT ( const std::string &  identifier)

Constructor.

template<typename T >
virtual variant_topic_tools::BuiltinDataType::ImplT< T >::~ImplT ( )
virtual

Destructor.

Member Function Documentation

template<typename T >
variant_topic_tools::BuiltinDataType::ImplT< T >::BOOST_STATIC_ASSERT ( type_traits::IsBuiltin< T >::value  )
template<typename T >
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.

template<typename T >
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.

template<typename T >
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.

template<typename T >
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.

template<typename T >
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.

template<typename T >
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.

template<typename T >
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.


The documentation for this class was generated from the following file:


variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Sat Jan 9 2021 03:56:50