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

Contains the types and functions to support Extensible Types. More...

Classes

struct  ExtensibilityKind_def
 The definition of the dds::core::safe_enum ExtensibilityKind. More...
 
struct  TypeKind_def
 The definition of TypeKind. More...
 
class  AliasType
 <<value-type>> Represents and IDL typedef More...
 
class  CollectionType
 <<value-type>> The base class of all collection types More...
 
class  UnidimensionalCollectionType
 <<value-type>> The base class of collection types with only one dimension. More...
 
class  SequenceType
 <<value-type>> Represents an IDL sequence type. More...
 
class  StringType
 <<value-type>> Represents an IDL string type. More...
 
class  WStringType
 <<value-type>> Represents an IDL wstring type. More...
 
class  ArrayType
 <<value-type>> Represents an IDL array type. More...
 
class  DynamicData
 <<value-type>> A data sample of any complex data type, which can be inspected and manipulated reflectively. More...
 
class  DynamicType
 <<value-type>> Represents a runtime type. More...
 
class  AbstractConstructedType
 The base class of types that have members and an extensibility kind. More...
 
class  EnumType
 <<value-type>> Represents and IDL enum type More...
 
class  Member
 <<value-type>> Represents a StructType member More...
 
class  UnionMember
 <<value-type>> Represents a UnionType member More...
 
class  EnumMember
 <<value-type>> Represents a EnumType member More...
 
class  PrimitiveType
 <<value-type>> Represents and IDL primitive type More...
 
class  StructType
 <<value-type>> Represents and IDL struct type More...
 
class  UnionType
 <<value-type>> Represents and IDL union type More...
 

Typedefs

typedef dds::core::safe_enum
< ExtensibilityKind_def
ExtensibilityKind
 The extensibility of a type.
 
typedef dds::core::safe_enum
< TypeKind_def
TypeKind
 The different type kinds.
 

Functions

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.
 
template<typename T >
const PrimitiveType< T > & primitive_type ()
 Obtains a singleton of PrimitiveType<T>
 
std::ostream & operator<< (std::ostream &out, const DynamicType &type)
 <<extension>> Converts the DynamicType to a string.
 

Detailed Description

Contains the types and functions to support Extensible Types.

Typedef Documentation

Function Documentation

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.

This includes EnumType, AliasType, collection types and aggregation types.

See Also
is_collection_type
is_aggregation_type
bool is_collection_type ( const DynamicType &  t)

Determines if a DynamicType is a CollectionType.

This includes ArrayType, SequenceType, StringType, and WStringType.

bool is_aggregation_type ( const DynamicType &  t)

Determines if a DynamicType is an aggregation type.

This includes StructType and UnionType.

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

Obtains a singleton of PrimitiveType<T>

std::ostream & operator<< ( std::ostream &  out,
const DynamicType &  type 
)

<<extension>> Converts the DynamicType to a string.

This operator writes the DynamicType type to the ostream out using default values for DynamicTypePrintFormatProperty and returns a reference to out.


RTI Connext Modern C++ API Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc