RTI Connext C# API  6.1.0
DynamicType Class Reference

The definition of a data type, which can be used to inspect DDS types, and to dynamically create new types and DynamicData samples. More...

Inheritance diagram for DynamicType:
IDynamicType AliasType ArrayType EnumType PrimitiveType< T > SequenceType StringType StructType UnionType WideStringType

Public Member Functions

override bool Equals (object other)
 Checks if both types definitions are identical. More...
 
override int GetHashCode ()
 A simple hash code function. More...
 
override string ToString ()
 Prints the IDL definition of this type More...
 
bool Equals (DynamicType other)
 Checks if both types definitions are identical. More...
 
void Dispose ()
 Deletes the native resources used by this object. Calling Dispose() for a DynamicType is optional. More...
 

Properties

string Name [get]
 The type name. More...
 
TypeKind Kind [get]
 The type kind. More...
 
- Properties inherited from IDynamicType
string Name [get]
 The name of the IDynamicType. More...
 
TypeKind Kind [get]
 The kind of IDynamicType. More...
 

Detailed Description

The definition of a data type, which can be used to inspect DDS types, and to dynamically create new types and DynamicData samples.

The DynamicTypeFactory allows creating DynamicType objects.

The full documentation is available in the C API: DDS_TypeCode

Member Function Documentation

◆ Dispose()

void Dispose ( )

Deletes the native resources used by this object. Calling Dispose() for a DynamicType is optional.

◆ Equals() [1/2]

bool Equals ( DynamicType  other)

Checks if both types definitions are identical.

◆ Equals() [2/2]

override bool Equals ( object  other)

Checks if both types definitions are identical.

◆ GetHashCode()

override int GetHashCode ( )

A simple hash code function.

◆ ToString()

override string ToString ( )

Prints the IDL definition of this type

Property Documentation

◆ Kind

TypeKind Kind
get

The type kind.

◆ Name

string Name
get

The type name.