OpenDDS
Snapshot(2023/04/28-20:55)
|
#include <annotations.h>
Public Member Functions | |
virtual bool | node_value_exists (AST_Decl *node, T &value) const |
![]() | |
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 () |
Protected Member Functions | |
virtual T | value_from_appl (AST_Annotation_Appl *) const |
Annotation with a Single Member Named "value"
Definition at line 111 of file annotations.h.
|
inlinevirtual |
If node has the annotation, this sets value to the annotation value and returns true. Returns false otherwise.
Definition at line 117 of file annotations.h.
Referenced by invalid_option(), and typeobject_generator::set_builtin_member_annotations().
|
inlineprotectedvirtual |
Reimplemented in OpenDDS::internal::SpecialSerializationAnnotation, OpenDDS::DataRepresentationAnnotation, TopicAnnotation, AnnotationWithEnumValue< T >, AnnotationWithEnumValue< AutoidKind >, AnnotationWithEnumValue< TryConstructFailAction >, and AnnotationWithEnumValue< ExtensibilityKind >.
Definition at line 130 of file annotations.h.
Referenced by get_str_annotation_member_value(), and AnnotationWithValue< ExtensibilityKind >::value_from_appl().