RTI Connext C# API  6.1.2
ArrayType Class Reference

Represents an IDL array. More...

Inheritance diagram for ArrayType:
DynamicType IArrayType IDynamicType ICollectionType IDynamicType

Public Member Functions

uint GetDimension (uint index)
 Returns the index-th dimension of an array type. More...
 
- Public Member Functions inherited from DynamicType
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

uint DimensionCount [get]
 This function returns the number of dimensions of an array type. More...
 
uint TotalElementCount [get]
 The number of elements in an array. More...
 
IDynamicType ContentType [get]
 Returns the type of the members of the array. More...
 
- Properties inherited from DynamicType
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...
 
- Properties inherited from IArrayType
uint DimensionCount [get]
 The number of dimensions. More...
 
uint TotalElementCount [get]
 The sum of all the dimensions. More...
 
- Properties inherited from ICollectionType
IDynamicType ContentType [get]
 The IDynamicType of the elements contained the ICollectionType. More...
 

Detailed Description

Represents an IDL array.

Member Function Documentation

◆ GetDimension()

uint GetDimension ( uint  index)

Returns the index-th dimension of an array type.

The full documentation is available in the C API: DDS_TypeCode_array_dimension

Implements IArrayType.

Property Documentation

◆ ContentType

IDynamicType ContentType
get

Returns the type of the members of the array.

The full documentation is available in the C API: DDS_TypeCode_content_type

◆ DimensionCount

uint DimensionCount
get

This function returns the number of dimensions of an array type.

The full documentation is available in the C API: DDS_TypeCode_array_dimension_count

◆ TotalElementCount

uint TotalElementCount
get

The number of elements in an array.

The full documentation is available in the C API: DDS_TypeCode_element_count