|
RTI Connext C# API Version 7.7.0
|
Represents an IDL struct. More...
Public Member Functions | |
| StructMember | GetMember (uint index) |
| Returns a member by its position in the type More... | |
| StructMember | GetMember (string name) |
| Finds a member by its name More... | |
| uint | FindMemberByName (string name) |
| Finds the index for a member name, which can be used as the argument for GetMember(uint). More... | |
| uint | FindMemberById (int id) |
Finds the member index given a member ID (@id IDL annotation) More... | |
| uint | GetCdrSerializedSampleMaxSize (short representationId=DataRepresentation.Xcdr) |
| Gets the maximum serialized size of samples of this type using a certain DataRepresentation. More... | |
| uint | GetCdrSerializedSampleMinSize (short representationId=DataRepresentation.Xcdr) |
| Gets the minimum serialized size of samples of this type using a certain DataRepresentation. More... | |
| uint | GetCdrSerializedSampleKeyMaxSize (short representationId=DataRepresentation.Xcdr) |
| Gets the maximum serialized size of the data type's key using a certain DataRepresentation. More... | |
Public Member Functions inherited from Rti.Types.Dynamic.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... | |
| bool | IsAssignableFrom (DynamicType from) |
| Checks if this type is assignable from another type. More... | |
| void | Dispose () |
| Deletes the native resources used by this object. Calling Dispose() for a DynamicType is optional. More... | |
| void | SetAnnotations (Annotations annotations) |
| For internal use only. More... | |
| void | SetMemberAnnotations (uint memberIndex, Annotations annotations) |
| For internal use only. More... | |
| IMember | GetMember (uint index) |
| Returns the i-th member of the IConstructedType. More... | |
| IMember | GetMember (string name) |
| Returns a member of the IConstructedType by its name. More... | |
Properties | |
| StructType | Parent [get] |
| The base type or null if this struct doesn't have one. More... | |
| ExtensibilityKind | ExtensibilityKind [get] |
| The value for the IDL extensibility kind. More... | |
| IEnumerable< StructMember > | Members [get] |
| The data members. More... | |
| uint | MemberCount [get] |
| The number of data members. More... | |
Properties inherited from Rti.Types.Dynamic.DynamicType | |
| 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... | |
Properties inherited from Omg.Types.Dynamic.IStructType | |
| IStructType | Parent [get] |
| The parent IStructType of this IStructType. More... | |
| new IEnumerable< IStructMember > | Members [get] |
| The IStructType members. More... | |
Properties inherited from Omg.Types.Dynamic.IConstructedType | |
| ExtensibilityKind | ExtensibilityKind [get] |
| The ExtensibilityKind of the IConstructedType. More... | |
| IEnumerable< IMember > | Members [get] |
| The IConstructedType members. More... | |
Represents an IDL struct.
| StructMember Rti.Types.Dynamic.StructType.GetMember | ( | uint | index | ) |
Returns a member by its position in the type
| System.IndexOutOfRangeException | If index >= MemberCount. |
Implements Omg.Types.Dynamic.IConstructedType.
| StructMember Rti.Types.Dynamic.StructType.GetMember | ( | string | name | ) |
Finds a member by its name
Implements Omg.Types.Dynamic.IConstructedType.
| uint Rti.Types.Dynamic.StructType.FindMemberByName | ( | string | name | ) |
Finds the index for a member name, which can be used as the argument for GetMember(uint).
| uint Rti.Types.Dynamic.StructType.FindMemberById | ( | int | id | ) |
Finds the member index given a member ID (@id IDL annotation)
The full documentation is available in the C API: DDS_TypeCode_find_member_by_id
| uint Rti.Types.Dynamic.StructType.GetCdrSerializedSampleMaxSize | ( | short | representationId = DataRepresentation.Xcdr | ) |
Gets the maximum serialized size of samples of this type using a certain DataRepresentation.
The full documentation is available in the C API: DDS_TypeCode_cdr_serialized_sample_max_size
| uint Rti.Types.Dynamic.StructType.GetCdrSerializedSampleMinSize | ( | short | representationId = DataRepresentation.Xcdr | ) |
Gets the minimum serialized size of samples of this type using a certain DataRepresentation.
The full documentation is available in the C API: DDS_TypeCode_cdr_serialized_sample_min_size
| uint Rti.Types.Dynamic.StructType.GetCdrSerializedSampleKeyMaxSize | ( | short | representationId = DataRepresentation.Xcdr | ) |
Gets the maximum serialized size of the data type's key using a certain DataRepresentation.
The full documentation is available in the C API: DDS_TypeCode_cdr_serialized_sample_key_max_size
|
get |
The base type or null if this struct doesn't have one.
Implements Omg.Types.Dynamic.IStructType.
|
get |
The value for the IDL extensibility kind.
Implements Omg.Types.Dynamic.IConstructedType.
|
get |
The data members.
Implements Omg.Types.Dynamic.IStructType.
|
get |
The number of data members.