OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | List of all members
IdAnnotation Class Reference

#include <annotations.h>

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

Public Member Functions

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

Detailed Description

Definition at line 209 of file annotations.h.

Member Function Documentation

◆ definition()

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

Implements Annotation.

Definition at line 243 of file annotations.cpp.

244 {
245  return
246  "@annotation id {\n"
247  " unsigned long value;\n"
248  "};\n";
249 }

◆ name()

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

Implements Annotation.

Definition at line 251 of file annotations.cpp.

252 {
253  return "id";
254 }

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