RTI Connext Modern C++ API  Version 5.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rti::core::xtypes::DynamicDataMemberInfo Class Reference

Contains information about a DynamicData member. More...

#include <DynamicDataMemberInfo.hpp>

Public Member Functions

uint32_t member_index () const
 The member index.
 
const dds::core::stringmember_name () const
 The member name.
 
dds::core::xtypes::TypeKind member_kind () const
 The type kind of the member.
 
uint32_t element_count () const
 The number of elements in this member.
 
dds::core::xtypes::TypeKind element_kind () const
 The type kind of the member.
 

Detailed Description

Contains information about a DynamicData member.

See Also
DynamicData::member_info()

Member Function Documentation

uint32_t rti::core::xtypes::DynamicDataMemberInfo::member_index ( ) const

The member index.

See Also
Member Names and Indexes.
const dds::core::string& rti::core::xtypes::DynamicDataMemberInfo::member_name ( ) const

The member name.

See Also
Member Names and Indexes.
dds::core::xtypes::TypeKind rti::core::xtypes::DynamicDataMemberInfo::member_kind ( ) const

The type kind of the member.

This a convenience function, equivalent to looking up the member's DynamicType::kind().

See Also
DynamicData::type()
DynamicType::kind()
uint32_t rti::core::xtypes::DynamicDataMemberInfo::element_count ( ) const

The number of elements in this member.

Only applies to members of ArrayType and SequenceType. For any other type this is always zero.

dds::core::xtypes::TypeKind rti::core::xtypes::DynamicDataMemberInfo::element_kind ( ) const

The type kind of the member.

This a convenience function, equivalent to looking up the member's type's element type.

See Also
DynamicData::type()
CollectionType::content_type()

RTI Connext Modern C++ API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc