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

#include <annotations.h>

Inheritance diagram for DefaultNestedAnnotation:
Inheritance graph
[legend]
Collaboration diagram for DefaultNestedAnnotation:
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 201 of file annotations.h.

Member Function Documentation

◆ definition()

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

Implements Annotation.

Definition at line 226 of file annotations.cpp.

227 {
228  return
229  "@annotation default_nested {\n"
230  " boolean value default TRUE;\n"
231  "};\n";
232 }

◆ name()

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

Implements Annotation.

Definition at line 234 of file annotations.cpp.

235 {
236  return "default_nested";
237 }

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