ATLAS Offline Software
|
Structure to hold information about one base. More...
Public Member Functions | |
info (BaseInfoBase::castfn_t *converter=0, BaseInfoBase::castfn_t *converterTo=0, bool is_virtual=false) | |
Constructor. converter* and is_virtual are as for add_info. More... | |
Public Attributes | |
BaseInfoBase::castfn_t * | m_converter |
Converter function. More... | |
BaseInfoBase::castfn_t * | m_converterTo |
Converter function. More... | |
bool | m_is_virtual |
True if the derivation from this base to T is via virtual derivation. More... | |
Structure to hold information about one base.
Definition at line 31 of file BaseInfo.cxx.
SG::BaseInfoBaseImpl::info::info | ( | BaseInfoBase::castfn_t * | converter = 0 , |
BaseInfoBase::castfn_t * | converterTo = 0 , |
||
bool | is_virtual = false |
||
) |
Constructor. converter* and is_virtual are as for add_info.
Convenience constructor.
converter | Converter function. This should be able to convert a T* to a pointer to this base. |
converterTo | Converter function. This should be able to convert a pointer to this base to a T*. |
is_virtual | True if the derivation from this base to T is via virtual derivation. |
The defaults are there just so this class can be used with STL containers that require a default ctor.
Definition at line 514 of file BaseInfo.cxx.
BaseInfoBase::castfn_t* SG::BaseInfoBaseImpl::info::m_converter |
Converter function.
Takes a T* and converts to a pointer to this base.
Definition at line 39 of file BaseInfo.cxx.
BaseInfoBase::castfn_t* SG::BaseInfoBaseImpl::info::m_converterTo |
Converter function.
Takes a pointer to this base and converts to T*. to this base.
Definition at line 44 of file BaseInfo.cxx.
bool SG::BaseInfoBaseImpl::info::m_is_virtual |
True if the derivation from this base to T is via virtual derivation.
Definition at line 48 of file BaseInfo.cxx.