OpenDDS  Snapshot(2023/04/28-20:55)
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 213 of file annotations.cpp.

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

◆ name()

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

Implements Annotation.

Definition at line 221 of file annotations.cpp.

222 {
223  return "nested";
224 }

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