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

#include <annotations.h>

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

Public Member Functions

 MustUnderstandAnnotation ()
 
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 ()
 
- Public Member Functions inherited from AbsentValue< bool >
 AbsentValue (const bool &value)
 

Additional Inherited Members

- Public Attributes inherited from AbsentValue< bool >
const bool absent_value
 
- Protected Member Functions inherited from AnnotationWithValue< bool >
virtual bool value_from_appl (AST_Annotation_Appl *) const
 

Detailed Description

Definition at line 254 of file annotations.h.

Constructor & Destructor Documentation

◆ MustUnderstandAnnotation()

MustUnderstandAnnotation::MustUnderstandAnnotation ( )
inline

Definition at line 256 of file annotations.h.

References name.

257  : AbsentValue<bool>(false)
258  {}

Member Function Documentation

◆ definition()

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

Implements Annotation.

Definition at line 307 of file annotations.cpp.

308 {
309  return
310  "@annotation must_understand {\n"
311  " boolean value default TRUE;"
312  "};\n";
313 }

◆ name()

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

Implements Annotation.

Definition at line 315 of file annotations.cpp.

316 {
317  return "must_understand";
318 }

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