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

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

◆ name()

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

Implements Annotation.

Definition at line 236 of file annotations.cpp.

237 {
238  return "default_nested";
239 }

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