RTI Connext Modern C++ API  Version 6.1.0
dds::core::xtypes Namespace Reference

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

Classes

class  AbstractConstructedType
 The base class of types that have members and an extensibility kind. More...
 
class  AliasType
 <<value-type>> Represents and IDL typedef More...
 
class  ArrayType
 <<value-type>> Represents an IDL array type. More...
 
class  CollectionType
 <<value-type>> The base class of all collection types 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  EnumMember
 <<value-type>> Represents a EnumType member More...
 
class  EnumType
 <<value-type>> Represents and IDL enum type More...
 
struct  ExtensibilityKind_def
 The definition of the dds::core::safe_enum ExtensibilityKind. More...
 
class  Member
 <<value-type>> Represents a StructType member More...
 
class  PrimitiveType
 <<value-type>> Represents and IDL primitive type More...
 
class  SequenceType
 <<value-type>> Represents an IDL sequence type. More...
 
class  StringType
 <<value-type>> Represents an IDL string type. More...
 
class  StructType
 <<value-type>> Represents and IDL struct type More...
 
struct  TypeKind_def
 The definition of TypeKind. More...
 
class  UnidimensionalCollectionType
 <<value-type>> The base class of collection types with only one dimension. More...
 
class  UnionMember
 <<value-type>> Represents a UnionType member More...
 
class  UnionType
 <<value-type>> Represents and IDL union type More...
 
class  WStringType
 <<value-type>> Represents an IDL wstring type. More...
 

Typedefs

typedef dds::core::safe_enum< ExtensibilityKind_defExtensibilityKind
 The extensibility of a type. More...
 
typedef dds::core::safe_enum< TypeKind_defTypeKind
 The different type kinds. More...
 

Functions

bool is_primitive_type (const DynamicType &t)
 Determines if a DynamicType is a PrimitiveType. More...
 
bool is_constructed_type (const DynamicType &t)
 Determines if a DynamicType is a constructed type. More...
 
bool is_collection_type (const DynamicType &t)
 Determines if a DynamicType is a CollectionType. More...
 
bool is_aggregation_type (const DynamicType &t)
 Determines if a DynamicType is an aggregation type. More...
 
template<typename T >
const PrimitiveType< T > & primitive_type ()
 Obtains a singleton of PrimitiveType<T> More...
 
std::ostream & operator<< (std::ostream &out, const DynamicType &type)
 <<extension>> Converts the DynamicType to a string. More...
 

Detailed Description

Contains the types and functions to support Extensible Types.

Typedef Documentation

◆ ExtensibilityKind

Function Documentation

◆ is_primitive_type()

bool is_primitive_type ( const DynamicType t)

Determines if a DynamicType is a PrimitiveType.

◆ is_constructed_type()

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

◆ is_collection_type()

bool is_collection_type ( const DynamicType t)

Determines if a DynamicType is a CollectionType.

This includes ArrayType, SequenceType, StringType, and WStringType.

◆ is_aggregation_type()

bool is_aggregation_type ( const DynamicType t)

Determines if a DynamicType is an aggregation type.

This includes StructType and UnionType.

◆ primitive_type()

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

Obtains a singleton of PrimitiveType<T>

◆ operator<<()

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.