RTI Connext C API
Version 5.3.0
|
A description of a member of a struct. More...
Data Fields | |
char * | name |
The name of the struct member. | |
const DDS_TypeCode * | type |
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. | |
A description of a member of a struct.
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.