RTI Connext C++ API  Version 5.1.0
DDS_StructMember Struct Reference

A description of a member of a struct. More...

Public Attributes

char * name
 The name of the struct member.
 
const DDS_TypeCodetype
 The type of the struct member.
 
DDS_Boolean is_pointer
 Indicates whether the struct member is a pointer or not.
 
DDS_Short bits
 Number of bits of a bitfield member.
 
DDS_Boolean is_key
 Indicates if the struct member is a key member or not.
 
DDS_Long id
 The member ID.
 
DDS_Boolean is_optional
 Indicates if the struct member is optional or required.
 

Detailed Description

A description of a member of a struct.

See Also
DDS_StructMemberSeq
DDS_TypeCodeFactory::create_struct_tc

Member Data Documentation

char* DDS_StructMember::name

The name of the struct member.

Cannot be NULL.

const DDS_TypeCode* DDS_StructMember::type

The type of the struct member.

Cannot be NULL.

DDS_Boolean DDS_StructMember::is_pointer

Indicates whether the struct member is a pointer or not.

DDS_Short DDS_StructMember::bits

Number of bits of a bitfield member.

If the struct member is a bitfield, this field contains the number of bits of the bitfield. Otherwise, bits should contain ::DDS_TypeCode::NOT_BITFIELD.

DDS_Boolean DDS_StructMember::is_key

Indicates if the struct member is a key member or not.

DDS_Long DDS_StructMember::id

The member ID.

Use DDS_TYPECODE_MEMBER_ID_INVALID to have the member ID automatically assigned.

DDS_Boolean DDS_StructMember::is_optional

Indicates if the struct member is optional or required.


RTI Connext C++ API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc