The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
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 51 of file IInspector.h.

Constructor & Destructor Documentation

◆ _V()

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

Definition at line 55 of file IInspector.h.

Member Function Documentation

◆ construct()

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

Implements IInspector::IValue.

Definition at line 57 of file IInspector.h.

57{ ::new ( b ) T(); }

◆ size()

template<class T>
virtual long IInspector::_V< T >::size ( ) const
inlinevirtual

Implements IInspector::IValue.

Definition at line 56 of file IInspector.h.

56{ return sizeof( T ); }

Member Data Documentation

◆ m_O

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

Definition at line 52 of file IInspector.h.


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