Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
DynamicTypeMember Class Reference

#include <DynamicTypeMember.h>

Public Member Functions

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

RTPS_DllAPI DynamicTypeMember ( )

◆ DynamicTypeMember() [2/3]

RTPS_DllAPI DynamicTypeMember ( const DynamicTypeMember other)

◆ DynamicTypeMember() [3/3]

RTPS_DllAPI DynamicTypeMember ( const MemberDescriptor descriptor,
MemberId  id 
)

◆ ~DynamicTypeMember()

Member Function Documentation

◆ apply_annotation() [1/2]

RTPS_DllAPI ReturnCode_t apply_annotation ( AnnotationDescriptor descriptor)

◆ apply_annotation() [2/2]

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

◆ equals()

RTPS_DllAPI bool equals ( const DynamicTypeMember ) const

◆ get_annotation()

RTPS_DllAPI ReturnCode_t get_annotation ( AnnotationDescriptor descriptor,
uint32_t  idx 
)

◆ get_annotation_count()

RTPS_DllAPI uint32_t get_annotation_count ( )

◆ get_descriptor() [1/2]

RTPS_DllAPI const MemberDescriptor * get_descriptor ( ) const
inline

◆ get_descriptor() [2/2]

RTPS_DllAPI ReturnCode_t get_descriptor ( MemberDescriptor descriptor) const

◆ get_id()

RTPS_DllAPI MemberId get_id ( ) const

◆ get_index()

uint32_t get_index ( ) const
protected

◆ get_name()

RTPS_DllAPI std::string get_name ( ) const

◆ get_union_labels()

RTPS_DllAPI std::vector< uint64_t > get_union_labels ( ) const

◆ is_default_union_value()

RTPS_DllAPI bool is_default_union_value ( ) const

◆ key_annotation()

RTPS_DllAPI bool key_annotation ( ) const

◆ set_index()

void set_index ( uint32_t  index)
protected

◆ set_parent()

void set_parent ( DynamicType pType)
protected

Friends And Related Symbol 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: