RTI Connext C# API Version 7.2.0
Rti.Types.Dynamic.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 Rti.Types.Dynamic.DynamicType:
Omg.Types.Dynamic.IDynamicType Rti.Types.Dynamic.AliasType Rti.Types.Dynamic.ArrayType Rti.Types.Dynamic.EnumType Rti.Types.Dynamic.PrimitiveType< T > Rti.Types.Dynamic.SequenceType Rti.Types.Dynamic.StringType Rti.Types.Dynamic.StructType Rti.Types.Dynamic.UnionType Rti.Types.Dynamic.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 Omg.Types.Dynamic.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

◆ Equals() [1/2]

override bool Rti.Types.Dynamic.DynamicType.Equals ( object  other)

Checks if both types definitions are identical.

◆ GetHashCode()

override int Rti.Types.Dynamic.DynamicType.GetHashCode ( )
inline

A simple hash code function.

◆ ToString()

override string Rti.Types.Dynamic.DynamicType.ToString ( )

Prints the IDL definition of this type

◆ Equals() [2/2]

bool Rti.Types.Dynamic.DynamicType.Equals ( DynamicType  other)
inline

Checks if both types definitions are identical.

◆ Dispose()

void Rti.Types.Dynamic.DynamicType.Dispose ( )
inline

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

Property Documentation

◆ Name

string Rti.Types.Dynamic.DynamicType.Name
get

The type name.

Implements Omg.Types.Dynamic.IDynamicType.

◆ Kind

TypeKind Rti.Types.Dynamic.DynamicType.Kind
get

The type kind.

Implements Omg.Types.Dynamic.IDynamicType.