OpenDDS  Snapshot(2023/04/07-19:43)
Protected Member Functions | List of all members
AnnotationWithEnumValue< T > Class Template Reference

#include <annotations.h>

Inheritance diagram for AnnotationWithEnumValue< T >:
Inheritance graph
[legend]
Collaboration diagram for AnnotationWithEnumValue< T >:
Collaboration graph
[legend]

Protected Member Functions

value_from_appl (AST_Annotation_Appl *appl) const
 

Additional Inherited Members

- Public Member Functions inherited from AnnotationWithValue< T >
virtual bool node_value_exists (AST_Decl *node, T &value) const
 
- Public Member Functions inherited from Annotation
 Annotation ()
 
virtual ~Annotation ()
 
virtual std::string definition () const =0
 
virtual std::string name () const =0
 
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 ()
 

Detailed Description

template<typename T>
class AnnotationWithEnumValue< T >

Definition at line 146 of file annotations.h.

Member Function Documentation

◆ value_from_appl()

template<typename T>
T AnnotationWithEnumValue< T >::value_from_appl ( AST_Annotation_Appl *  appl) const
inlineprotectedvirtual

Reimplemented from AnnotationWithValue< T >.

Definition at line 148 of file annotations.h.

149  {
150  return static_cast<T>(get_u32_annotation_member_value(appl, "value"));
151  }
ACE_UINT32 get_u32_annotation_member_value(AST_Annotation_Appl *appl, const char *member_name)

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