RTI Connext Modern C++ API
Version 5.2.3
|
<<value-type>> Represents and IDL primitive type More...
#include <dds/core/xtypes/PrimitiveTypes.hpp>
Related Functions | |
(Note that these are not member functions.) | |
template<typename T > | |
const PrimitiveType< T > & | primitive_type () |
Obtains a singleton of PrimitiveType<T> | |
![]() | |
bool | is_primitive_type (const DynamicType &t) |
Determines if a DynamicType is a PrimitiveType. | |
bool | is_constructed_type (const DynamicType &t) |
Determines if a DynamicType is a constructed type. | |
bool | is_collection_type (const DynamicType &t) |
Determines if a DynamicType is a CollectionType. | |
bool | is_aggregation_type (const DynamicType &t) |
Determines if a DynamicType is an aggregation type. | |
void | print_idl (const DynamicType &type, unsigned int indent=0) |
<<extension>> Prints the IDL representation of this type to the standard output | |
Additional Inherited Members | |
![]() | |
dds::core::xtypes::TypeKind | kind () const |
Gets the type kind. | |
std::string | name () const |
Gets the name. | |
<<value-type>> Represents and IDL primitive type
T | The C++ primitive type for which to obtain a DynamicType. These are the possible types:
|
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.
|
related |
Obtains a singleton of PrimitiveType<T>