RTI Connext Modern C++ API  Version 5.3.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
dds::core::xtypes::PrimitiveType Class Reference

<<value-type>> Represents and IDL primitive type More...

#include <dds/core/xtypes/PrimitiveTypes.hpp>

Inheritance diagram for dds::core::xtypes::PrimitiveType:
dds::core::xtypes::DynamicType

Related Functions

(Note that these are not member functions.)

template<typename T >
const PrimitiveType< T > & primitive_type ()
 Obtains a singleton of PrimitiveType<T>
 

Additional Inherited Members

- Public Member Functions inherited from dds::core::xtypes::DynamicType
dds::core::xtypes::TypeKind kind () const
 Gets the type kind.
 
std::string name () const
 Gets the name.
 

Detailed Description

<<value-type>> Represents and IDL primitive type

Template Parameters
TThe C++ primitive type for which to obtain a DynamicType. These are the possible types:
C++ type (T) IDL type
char char
bool boolean
uint8_t octet
(u)int16_t (unsigned) short
(u)int32_t (unsigned) long
(u)int64_t (unsigned) long long
float float
double double
rti::core::LongDouble long double
wchar_t wchar

Instead of instantiating this class it is recommended to obtain a singleton for each primitive type T using primitive_type.

Note: this class doesn't have any members other than those inherited from DynamicType.

See Also
primitive_type()

Friends And Related Function Documentation

template<typename T >
const PrimitiveType< T > & primitive_type ( )
related

Obtains a singleton of PrimitiveType<T>


RTI Connext Modern C++ API Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc