DDS_DynamicDataMemberInfo Struct Reference
[Dynamic Data]

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

List of all members.

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 corresponding member of the data type actually exists in this sample.
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

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

For sparse data types, this value will be assigned by the type designer. For types defined in IDL, it will be assigned automatically by the middleware based on the member's declaration order within the type.

See also:
DDS_TCKind

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.

See also:
DDS_DynamicDataMemberInfo::representation_count

Indicates whether the corresponding member of the data type actually exists in this sample.

For non-sparse data types, this value will always be DDS_BOOLEAN_TRUE.

See also:
DDS_TCKind

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.

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.

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 Data Distribution Service C++ API Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc