Fast RTPS  Version 2.5.1
Fast RTPS
DynamicTypeMember Class Reference

#include <DynamicTypeMember.h>

Public Member Functions

 DynamicTypeMember ()
 
 DynamicTypeMember (const DynamicTypeMember *other)
 
 DynamicTypeMember (const MemberDescriptor *descriptor, MemberId id)
 
 ~DynamicTypeMember ()
 
ReturnCode_t apply_annotation (AnnotationDescriptor &descriptor)
 
ReturnCode_t apply_annotation (const std::string &annotation_name, const std::string &key, const std::string &value)
 
bool equals (const DynamicTypeMember *) const
 
ReturnCode_t get_annotation (AnnotationDescriptor &descriptor, uint32_t idx)
 
uint32_t get_annotation_count ()
 
bool key_annotation () const
 
std::vector< uint64_t > get_union_labels () const
 
ReturnCode_t get_descriptor (MemberDescriptor *descriptor) const
 
MemberId get_id () const
 
std::string get_name () const
 
bool is_default_union_value () const
 
const MemberDescriptorget_descriptor () const
 

Protected Member Functions

uint32_t get_index () const
 
void set_index (uint32_t index)
 
void set_parent (DynamicType *pType)
 

Protected Attributes

DynamicTypeparent_
 
MemberDescriptor descriptor_
 
MemberId id_
 

Friends

class DynamicTypeBuilder
 
class DynamicType
 
class DynamicData
 

Constructor & Destructor Documentation

◆ DynamicTypeMember() [1/3]

◆ DynamicTypeMember() [2/3]

◆ DynamicTypeMember() [3/3]

DynamicTypeMember ( const MemberDescriptor descriptor,
MemberId  id 
)

◆ ~DynamicTypeMember()

Member Function Documentation

◆ apply_annotation() [1/2]

ReturnCode_t apply_annotation ( AnnotationDescriptor descriptor)

◆ apply_annotation() [2/2]

ReturnCode_t apply_annotation ( const std::string &  annotation_name,
const std::string &  key,
const std::string &  value 
)

◆ equals()

bool equals ( const DynamicTypeMember ) const

◆ get_annotation()

ReturnCode_t get_annotation ( AnnotationDescriptor descriptor,
uint32_t  idx 
)

◆ get_annotation_count()

uint32_t get_annotation_count ( )

◆ get_descriptor() [1/2]

const MemberDescriptor* get_descriptor ( ) const
inline

◆ get_descriptor() [2/2]

ReturnCode_t get_descriptor ( MemberDescriptor descriptor) const

◆ get_id()

MemberId get_id ( ) const

◆ get_index()

uint32_t get_index ( ) const
protected

◆ get_name()

std::string get_name ( ) const

◆ get_union_labels()

std::vector<uint64_t> get_union_labels ( ) const

◆ is_default_union_value()

bool is_default_union_value ( ) const

◆ key_annotation()

bool key_annotation ( ) const

◆ set_index()

void set_index ( uint32_t  index)
protected

◆ set_parent()

void set_parent ( DynamicType pType)
protected

Friends And Related Function Documentation

◆ DynamicData

friend class DynamicData
friend

◆ DynamicType

friend class DynamicType
friend

◆ DynamicTypeBuilder

friend class DynamicTypeBuilder
friend

Member Data Documentation

◆ descriptor_

MemberDescriptor descriptor_
protected

◆ id_

MemberId id_
protected

◆ parent_

DynamicType* parent_
protected

The documentation for this class was generated from the following file: