List of all members | Public Member Functions | Private Attributes
det::VManager::Handle Class Reference

#include <VManager.h>

Public Member Functions

template<typename T >
boost::add_reference< typename
boost::remove_const< T >::type >
::type 
Get ()
 
template<typename T >
boost::add_reference< typename
boost::add_const< T >::type >
::type 
Get () const
 
const std::string & GetTypeIdMangledName () const
 
std::string GetTypeIdName () const
 
template<typename T >
 Handle (T &t)
 
 Handle (const Handle &h)
 
template<typename T >
bool Is () const
 
Handleoperator= (const Handle &h)
 
 ~Handle ()
 

Private Attributes

template<typename T >
void const
 
std::string fTypeIdMangledName
 

Detailed Description

Handle to the return data objects Constness of Handle is propagated to the pointed object

Definition at line 138 of file VManager.h.

Constructor & Destructor Documentation

template<typename T >
det::VManager::Handle::Handle ( T &  t)
inlineexplicit

Definition at line 141 of file VManager.h.

det::VManager::Handle::~Handle ( )
inline

Definition at line 144 of file VManager.h.

det::VManager::Handle::Handle ( const Handle h)
inline

Definition at line 145 of file VManager.h.

Member Function Documentation

template<typename T >
boost::add_reference<typename boost::remove_const<T>::type>::type det::VManager::Handle::Get ( )
inline
template<typename T >
boost::add_reference<typename boost::add_const<T>::type>::type det::VManager::Handle::Get ( ) const
inline

Definition at line 154 of file VManager.h.

const std::string& det::VManager::Handle::GetTypeIdMangledName ( ) const
inline

Definition at line 159 of file VManager.h.

References fTypeIdMangledName.

std::string det::VManager::Handle::GetTypeIdName ( ) const
inline
template<typename T >
bool det::VManager::Handle::Is ( ) const
inline
Handle& det::VManager::Handle::operator= ( const Handle h)
inline

Definition at line 146 of file VManager.h.

References fTypeIdMangledName.

Member Data Documentation

template<typename T >
void det::VManager::Handle::const
private
Initial value:
{
if (!Is<T>()) {
std::ostringstream os;
os << "cannot Handle(" << GetTypeIdName() << ").Get<" << utl::TypeId::Name<T>() << ">()";
ERROR(os);
}
}
void* fData = nullptr

Definition at line 169 of file VManager.h.

std::string det::VManager::Handle::fTypeIdMangledName
private

Definition at line 179 of file VManager.h.

Referenced by GetTypeIdMangledName(), GetTypeIdName(), Is(), and operator=().


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

, generated on Tue Sep 26 2023.