The Gaudi Framework  v29r0 (ff2e7097)
IInspector::_V< T > Class Template Reference
Inheritance diagram for IInspector::_V< T >:
Collaboration diagram for IInspector::_V< T >:

Public Member Functions

 _V (const T &v)
 
virtual long size () const
 
virtual void construct (void *b) const
 
- Public Member Functions inherited from IInspector::IValue
virtual ~IValue ()=default
 
virtual void release ()
 
void * ptr ()
 
const void * ptr () const
 

Private Attributes

m_O
 

Additional Inherited Members

- Protected Member Functions inherited from IInspector::IValue
 IValue ()=default
 
- Protected Attributes inherited from IInspector::IValue
void * m_P
 

Detailed Description

template<class T>
class IInspector::_V< T >

Definition at line 47 of file IInspector.h.

Constructor & Destructor Documentation

template<class T >
IInspector::_V< T >::_V ( const T &  v)
inline

Definition at line 52 of file IInspector.h.

52 : m_O( v ) { m_P = &m_O; }

Member Function Documentation

template<class T >
virtual void IInspector::_V< T >::construct ( void *  b) const
inlinevirtual

Implements IInspector::IValue.

Definition at line 54 of file IInspector.h.

54 { ::new ( b ) T(); }
template<class T >
virtual long IInspector::_V< T >::size ( ) const
inlinevirtual

Implements IInspector::IValue.

Definition at line 53 of file IInspector.h.

53 { return sizeof( T ); }

Member Data Documentation

template<class T >
T IInspector::_V< T >::m_O
private

Definition at line 49 of file IInspector.h.


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