RTI Connext .NET API (legacy)  Version 6.1.1
DDS::StructMember Class Reference

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

#include <managed_typecode.h>

Public Attributes

System::String ^ name
 The name of the struct member. More...
 
TypeCodetype
 The type of the struct member. More...
 
System::Boolean is_pointer
 Indicates whether the struct member is a pointer or not. More...
 
System::Int16 bits
 Number of bits of a bitfield member. More...
 
System::Boolean is_key
 Indicates if the struct member is a key member or not. More...
 

Detailed Description

A description of a member of a struct.

See also
DDS::StructMemberSeq
DDS::TypeCodeFactory::create_struct_tc

Member Data Documentation

◆ name

System::String ^ DDS::StructMember::name

The name of the struct member.

Cannot be null.

◆ type

TypeCode ^ DDS::StructMember::type

The type of the struct member.

Cannot be null.

◆ is_pointer

System::Boolean DDS::StructMember::is_pointer

Indicates whether the struct member is a pointer or not.

◆ bits

System::Int16 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.

◆ is_key

System::Boolean DDS::StructMember::is_key

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