MUQ  0.4.3
muq::Utilities::AnyConstCast Class Reference

#include <AnyHelpers.h>

Detailed Description

The same as muq::Utilities::AnyCast, but using const references.

Definition at line 49 of file AnyHelpers.h.

Public Member Functions

 AnyConstCast (boost::any const &objIn)
 
template<typename T >
 operator T const & ()
 
template<typename T >
 operator T ()
 

Constructor & Destructor Documentation

◆ AnyConstCast()

muq::Utilities::AnyConstCast::AnyConstCast ( boost::any const &  objIn)
inline

Definition at line 52 of file AnyHelpers.h.

Member Function Documentation

◆ operator T()

template<typename T >
muq::Utilities::AnyConstCast::operator T ( )
inline

Definition at line 62 of file AnyHelpers.h.

References obj.

◆ operator T const &()

template<typename T >
muq::Utilities::AnyConstCast::operator T const & ( )
inline

Definition at line 58 of file AnyHelpers.h.

References obj.

Member Data Documentation

◆ obj

boost::any const& muq::Utilities::AnyConstCast::obj
private

Definition at line 66 of file AnyHelpers.h.

Referenced by operator T(), and operator T const &().


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