OpenDDS
Snapshot(2023/04/28-20:55)
|
#include <annotations.h>
Public Member Functions | |
Annotation () | |
virtual | ~Annotation () |
virtual std::string | definition () const =0 |
virtual std::string | name () const =0 |
virtual std::string | module () const |
virtual std::string | fullname () const |
AST_Annotation_Decl * | declaration () const |
AST_Annotation_Appl * | find_on (AST_Decl *node) const |
void | cache () |
Private Attributes | |
AST_Annotation_Decl * | declaration_ |
Wrapper Base Class for Annotations
Definition at line 63 of file annotations.h.
Annotation::Annotation | ( | ) |
Definition at line 56 of file annotations.cpp.
|
virtual |
Definition at line 61 of file annotations.cpp.
void Annotation::cache | ( | ) |
Definition at line 85 of file annotations.cpp.
References declaration_, definition(), and fullname().
AST_Annotation_Decl * Annotation::declaration | ( | ) | const |
Definition at line 75 of file annotations.cpp.
References declaration_.
Referenced by TryConstructAnnotation::array_element_value(), invalid_option(), OpenDDS::DataRepresentationAnnotation::node_value_exists(), TryConstructAnnotation::sequence_element_value(), KeyAnnotation::union_value(), TryConstructAnnotation::union_value(), and OpenDDS::DataRepresentationAnnotation::value_from_appl().
|
pure virtual |
Implemented in OpenDDS::internal::SpecialSerializationAnnotation, OpenDDS::internal::NoDynamicDataAdapterAnnotation, OpenDDS::DataRepresentationAnnotation, TryConstructAnnotation, MutableAnnotation, AppendableAnnotation, FinalAnnotation, ExtensibilityAnnotation, ExternalAnnotation, MustUnderstandAnnotation, OptionalAnnotation, HashidAnnotation, AutoidAnnotation, IdAnnotation, DefaultNestedAnnotation, NestedAnnotation, TopicAnnotation, and KeyAnnotation.
Referenced by cache().
AST_Annotation_Appl * Annotation::find_on | ( | AST_Decl * | node | ) | const |
|
virtual |
Definition at line 70 of file annotations.cpp.
References module(), and name().
Referenced by cache().
|
virtual |
Reimplemented in OpenDDS::internal::SpecialSerializationAnnotation, OpenDDS::internal::NoDynamicDataAdapterAnnotation, and OpenDDS::DataRepresentationAnnotation.
Definition at line 65 of file annotations.cpp.
Referenced by fullname().
|
pure virtual |
Implemented in OpenDDS::internal::SpecialSerializationAnnotation, OpenDDS::internal::NoDynamicDataAdapterAnnotation, OpenDDS::DataRepresentationAnnotation, TryConstructAnnotation, MutableAnnotation, AppendableAnnotation, FinalAnnotation, ExtensibilityAnnotation, ExternalAnnotation, MustUnderstandAnnotation, OptionalAnnotation, HashidAnnotation, AutoidAnnotation, IdAnnotation, DefaultNestedAnnotation, NestedAnnotation, TopicAnnotation, and KeyAnnotation.
Referenced by fullname().
|
private |
Definition at line 78 of file annotations.h.
Referenced by cache(), declaration(), and find_on().