OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <annotations.h>
Public Member Functions | |
std::string | definition () const |
std::string | name () const |
std::string | module () const |
bool | node_value_exists (AST_Decl *node, DataRepresentation &value) const |
![]() | |
virtual bool | node_value_exists (AST_Decl *node, DataRepresentation &value) const |
![]() | |
Annotation () | |
virtual | ~Annotation () |
virtual std::string | fullname () const |
AST_Annotation_Decl * | declaration () const |
AST_Annotation_Appl * | find_on (AST_Decl *node) const |
void | cache () |
Protected Member Functions | |
DataRepresentation | value_from_appl (AST_Annotation_Appl *appl) const |
Used to specify the allowed RTPS data representations in XTypes. Replacement for ::data_representation which requires bitmask.
Definition at line 406 of file annotations.h.
|
virtual |
Implements Annotation.
Definition at line 435 of file annotations.cpp.
|
virtual |
Reimplemented from Annotation.
Definition at line 496 of file annotations.cpp.
References OPENDDS_END_VERSIONED_NAMESPACE_DECL.
|
virtual |
Implements Annotation.
Definition at line 451 of file annotations.cpp.
bool OpenDDS::DataRepresentationAnnotation::node_value_exists | ( | AST_Decl * | node, |
DataRepresentation & | value | ||
) | const |
Definition at line 456 of file annotations.cpp.
References OpenDDS::DataRepresentation::add(), and Annotation::declaration().
Referenced by invalid_option().
|
protectedvirtual |
Reimplemented from AnnotationWithValue< DataRepresentation >.
Definition at line 474 of file annotations.cpp.
References Annotation::declaration(), get_u32_annotation_member_value(), OpenDDS::DataRepresentation::unaligned, value, OpenDDS::DataRepresentation::xcdr1, OpenDDS::DataRepresentation::xcdr2, and OpenDDS::DataRepresentation::xml.