OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | List of all members
NestedAnnotation Class Reference

#include <annotations.h>

Inheritance diagram for NestedAnnotation:
Inheritance graph
[legend]
Collaboration diagram for NestedAnnotation:
Collaboration graph
[legend]

Public Member Functions

std::string definition () const
 
std::string name () const
 
- Public Member Functions inherited from AnnotationWithValue< bool >
virtual bool node_value_exists (AST_Decl *node, bool &value) const
 
- Public Member Functions inherited from Annotation
 Annotation ()
 
virtual ~Annotation ()
 
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from AnnotationWithValue< bool >
virtual bool value_from_appl (AST_Annotation_Appl *) const
 

Detailed Description

Definition at line 193 of file annotations.h.

Member Function Documentation

◆ definition()

std::string NestedAnnotation::definition ( ) const
virtual

Implements Annotation.

Definition at line 211 of file annotations.cpp.

212 {
213  return
214  "@annotation nested {\n"
215  " boolean value default TRUE;\n"
216  "};\n";
217 }

◆ name()

std::string NestedAnnotation::name ( void  ) const
virtual

Implements Annotation.

Definition at line 219 of file annotations.cpp.

220 {
221  return "nested";
222 }

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