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

#include <annotations.h>

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

Public Member Functions

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

Detailed Description

Definition at line 234 of file annotations.h.

Member Function Documentation

◆ definition()

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

Implements Annotation.

Definition at line 275 of file annotations.cpp.

276 {
277  return
278  "@annotation hashid {\n"
279  " string value default \"\";"
280  "};\n";
281 }

◆ name()

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

Implements Annotation.

Definition at line 283 of file annotations.cpp.

284 {
285  return "hashid";
286 }

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