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

#include <annotations.h>

Inheritance diagram for OpenDDS::internal::NoDynamicDataAdapterAnnotation:
Inheritance graph
[legend]
Collaboration diagram for OpenDDS::internal::NoDynamicDataAdapterAnnotation:
Collaboration graph
[legend]

Public Member Functions

std::string definition () const
 
std::string name () const
 
std::string module () const
 
- Public Member Functions inherited from Annotation
 Annotation ()
 
virtual ~Annotation ()
 
virtual std::string fullname () const
 
AST_Annotation_Decl * declaration () const
 
AST_Annotation_Appl * find_on (AST_Decl *node) const
 
void cache ()
 

Detailed Description

Types with this annotation will not get a DynamicDataAdapterImpl generated for them. Attempting to access struct or union members with this annotation on their type will result in an UNSUPPORTED retcode. get_dynamic_data_adapter for these types will be generated, but will return nullptr.

Definition at line 427 of file annotations.h.

Member Function Documentation

◆ definition()

std::string OpenDDS::internal::NoDynamicDataAdapterAnnotation::definition ( ) const
inlinevirtual

Implements Annotation.

Definition at line 428 of file annotations.h.

429  {
430  return
431  "module OpenDDS {\n"
432  " module internal {\n"
433  " @annotation no_dynamic_data_adapter {\n"
434  " };\n"
435  " };\n"
436  "};\n";
437  }

◆ module()

std::string OpenDDS::internal::NoDynamicDataAdapterAnnotation::module ( void  ) const
inlinevirtual

Reimplemented from Annotation.

Definition at line 444 of file annotations.h.

445  {
446  return "::OpenDDS::internal::";
447  }

◆ name()

std::string OpenDDS::internal::NoDynamicDataAdapterAnnotation::name ( void  ) const
inlinevirtual

Implements Annotation.

Definition at line 439 of file annotations.h.

440  {
441  return "no_dynamic_data_adapter";
442  }

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