Public Member Functions | Private Attributes | List of all members
canopen::HoldAny Class Reference

#include <objdict.h>

Public Member Functions

const Stringdata () const
 
template<typename T >
const T & get () const
 
template<>
const Stringget () const
 
 HoldAny ()
 
 HoldAny (const std::string &t)
 
template<typename T >
 HoldAny (const T &t)
 
 HoldAny (const TypeGuard &t)
 
bool is_empty () const
 
const TypeGuardtype () const
 

Private Attributes

String buffer
 
bool empty
 
TypeGuard type_guard
 

Detailed Description

Definition at line 56 of file objdict.h.

Constructor & Destructor Documentation

◆ HoldAny() [1/4]

canopen::HoldAny::HoldAny ( )
inline

Definition at line 61 of file objdict.h.

◆ HoldAny() [2/4]

template<typename T >
canopen::HoldAny::HoldAny ( const T &  t)
inline

Definition at line 65 of file objdict.h.

◆ HoldAny() [3/4]

canopen::HoldAny::HoldAny ( const std::string &  t)
inline

Definition at line 69 of file objdict.h.

◆ HoldAny() [4/4]

canopen::HoldAny::HoldAny ( const TypeGuard t)
inline

Definition at line 75 of file objdict.h.

Member Function Documentation

◆ data()

const String& canopen::HoldAny::data ( ) const
inline

Definition at line 79 of file objdict.h.

◆ get() [1/2]

template<typename T >
const T& canopen::HoldAny::get ( ) const
inline

Definition at line 86 of file objdict.h.

◆ get() [2/2]

template<>
const String & HoldAny::get ( ) const

Definition at line 15 of file objdict.cpp.

◆ is_empty()

bool canopen::HoldAny::is_empty ( ) const
inline

Definition at line 77 of file objdict.h.

◆ type()

const TypeGuard& canopen::HoldAny::type ( ) const
inline

Definition at line 63 of file objdict.h.

Member Data Documentation

◆ buffer

String canopen::HoldAny::buffer
private

Definition at line 57 of file objdict.h.

◆ empty

bool canopen::HoldAny::empty
private

Definition at line 59 of file objdict.h.

◆ type_guard

TypeGuard canopen::HoldAny::type_guard
private

Definition at line 58 of file objdict.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Wed Mar 2 2022 00:52:26