RTI Connext Traditional C++ API  Version 5.2.3
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_DynamicDataMemberInfo Struct Reference

A descriptor for a single member (i.e. field) of dynamically defined data type. More...

Public Attributes

DDS_DynamicDataMemberId member_id
 An integer that uniquely identifies the data member within this DDS_DynamicData sample's type.
 
const char * member_name
 The string name of the data member.
 
DDS_Boolean member_exists
 Indicates whether the member exists in the type that is represented by this DynamicData.
 
DDS_TCKind member_kind
 The kind of type of this data member (e.g. integer, structure, etc.).
 
DDS_UnsignedLong element_count
 The number of elements within this data member.
 
DDS_TCKind element_kind
 The kind of type of the elements within this data member.
 

Detailed Description

A descriptor for a single member (i.e. field) of dynamically defined data type.

See Also
DDS_DynamicData::get_member_info

Member Data Documentation

DDS_DynamicDataMemberId DDS_DynamicDataMemberInfo::member_id

An integer that uniquely identifies the data member within this DDS_DynamicData sample's type.

The member id is assigned automatically by the middleware based on the member's declaration order within the type. It is a 1-based index of the member's position in the type.

See Also
DDS_TCKind
const char* DDS_DynamicDataMemberInfo::member_name

The string name of the data member.

This name will be unique among members of the same type. However, a single named member may have multiple type representations.

DDS_Boolean DDS_DynamicDataMemberInfo::member_exists

Indicates whether the member exists in the type that is represented by this DynamicData.

The value will be the same as the value returned by DDS_DynamicData::member_exists_in_type.

See Also
DDS_DynamicData::member_exists_in_type
DDS_TCKind DDS_DynamicDataMemberInfo::member_kind

The kind of type of this data member (e.g. integer, structure, etc.).

This is a convenience field; it is equivalent to looking up the member in the DDS_TypeCode and getting the DDS_TCKind from there.

DDS_UnsignedLong DDS_DynamicDataMemberInfo::element_count

The number of elements within this data member.

This information is only valid for members of array or sequence types. Members of other types will always report zero (0) here.

DDS_TCKind DDS_DynamicDataMemberInfo::element_kind

The kind of type of the elements within this data member.

This information is only valid for members of array or sequence types. Members of other types will always report DDS_TK_NULL here.


RTI Connext Traditional C++ API Version 5.2.3 Copyright © Wed Apr 27 2016 Real-Time Innovations, Inc