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

#include <AnnotationDescriptor.h>

Public Member Functions

 AnnotationDescriptor ()
 
 ~AnnotationDescriptor ()
 
 AnnotationDescriptor (const AnnotationDescriptor *descriptor)
 
 AnnotationDescriptor (DynamicType_ptr p_type)
 
ReturnCode_t copy_from (const AnnotationDescriptor *other)
 
bool equals (const AnnotationDescriptor *) const
 
bool is_consistent () const
 
bool key_annotation () const
 
ReturnCode_t get_value (std::string &value, const std::string &key)
 
ReturnCode_t get_value (std::string &value)
 
ReturnCode_t get_all_value (std::map< std::string, std::string > &value) const
 
ReturnCode_t set_value (const std::string &key, const std::string &value)
 
void set_type (DynamicType_ptr pType)
 
const DynamicType_ptr type () const
 

Protected Attributes

DynamicType_ptr type_
 
std::map< std::string, std::string > value_
 

Friends

class DynamicTypeBuilderFactory
 

Constructor & Destructor Documentation

◆ AnnotationDescriptor() [1/3]

◆ ~AnnotationDescriptor()

◆ AnnotationDescriptor() [2/3]

AnnotationDescriptor ( const AnnotationDescriptor descriptor)

◆ AnnotationDescriptor() [3/3]

Member Function Documentation

◆ copy_from()

ReturnCode_t copy_from ( const AnnotationDescriptor other)

◆ equals()

bool equals ( const AnnotationDescriptor ) const

◆ get_all_value()

ReturnCode_t get_all_value ( std::map< std::string, std::string > &  value) const

◆ get_value() [1/2]

ReturnCode_t get_value ( std::string &  value)

◆ get_value() [2/2]

ReturnCode_t get_value ( std::string &  value,
const std::string &  key 
)

◆ is_consistent()

bool is_consistent ( ) const

◆ key_annotation()

bool key_annotation ( ) const

◆ set_type()

void set_type ( DynamicType_ptr  pType)

◆ set_value()

ReturnCode_t set_value ( const std::string &  key,
const std::string &  value 
)

◆ type()

const DynamicType_ptr type ( ) const
inline

Friends And Related Symbol Documentation

◆ DynamicTypeBuilderFactory

friend class DynamicTypeBuilderFactory
friend

Member Data Documentation

◆ type_

DynamicType_ptr type_
protected

◆ value_

std::map<std::string, std::string> value_
protected

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