openModeller  Version 1.5.0
MCNode< ObjectT, PreMultiContainerKeyT > Class Template Reference

#include <PreMultiContainer.hh>

Inheritance diagram for MCNode< ObjectT, PreMultiContainerKeyT >:
Inheritance graph
Collaboration diagram for MCNode< ObjectT, PreMultiContainerKeyT >:
Collaboration graph

Public Member Functions

 MCNode ()
 
 ~MCNode ()
 
MCNodeInterface
< PreMultiContainerKeyT > * 
clone () const
 
void setObjPtr (ObjectT *ptr)
 
ObjectT * getObjPtr () const
 
const std::string & getObjTypeInfo () const
 
- Public Member Functions inherited from MCNodeInterface< PreMultiContainerKeyT >
 MCNodeInterface ()
 
virtual ~MCNodeInterface ()
 

Protected Attributes

ObjectT * obj_ptr_
 
std::string obj_type_str_
 

Detailed Description

template<typename ObjectT, typename PreMultiContainerKeyT>
class MCNode< ObjectT, PreMultiContainerKeyT >

Definition at line 84 of file PreMultiContainer.hh.

Constructor & Destructor Documentation

template<typename ObjectT, typename PreMultiContainerKeyT>
MCNode< ObjectT, PreMultiContainerKeyT >::MCNode ( )
inline
template<typename ObjectT, typename PreMultiContainerKeyT>
MCNode< ObjectT, PreMultiContainerKeyT >::~MCNode ( )
inline

Member Function Documentation

template<typename ObjectT, typename PreMultiContainerKeyT>
MCNodeInterface< PreMultiContainerKeyT >* MCNode< ObjectT, PreMultiContainerKeyT >::clone ( ) const
inlinevirtual

Copies the the current node instance by calling the operator= from the contained object instance. return: A pointer to the new node copy.

Implements MCNodeInterface< PreMultiContainerKeyT >.

Definition at line 106 of file PreMultiContainer.hh.

References MCNode< ObjectT, PreMultiContainerKeyT >::obj_ptr_, and MCNode< ObjectT, PreMultiContainerKeyT >::obj_type_str_.

template<typename ObjectT, typename PreMultiContainerKeyT>
ObjectT* MCNode< ObjectT, PreMultiContainerKeyT >::getObjPtr ( ) const
inline

Get the internal object pointer. return: The object pointer.

Definition at line 145 of file PreMultiContainer.hh.

References MCNode< ObjectT, PreMultiContainerKeyT >::obj_ptr_.

template<typename ObjectT, typename PreMultiContainerKeyT>
const std::string& MCNode< ObjectT, PreMultiContainerKeyT >::getObjTypeInfo ( ) const
inlinevirtual

Get the internal object type info. return: The internal object type info.

Implements MCNodeInterface< PreMultiContainerKeyT >.

Definition at line 154 of file PreMultiContainer.hh.

References MCNode< ObjectT, PreMultiContainerKeyT >::obj_type_str_.

template<typename ObjectT, typename PreMultiContainerKeyT>
void MCNode< ObjectT, PreMultiContainerKeyT >::setObjPtr ( ObjectT *  ptr)
inline

Set the internal object pointer. ptr: Object pointer.

Definition at line 125 of file PreMultiContainer.hh.

References Log::error(), Log::instance(), MCNode< ObjectT, PreMultiContainerKeyT >::obj_ptr_, and MCNode< ObjectT, PreMultiContainerKeyT >::obj_type_str_.

Referenced by PreMultiContainer< PreMultiContainerKeyT >::store().

Here is the call graph for this function:

Member Data Documentation

template<typename ObjectT, typename PreMultiContainerKeyT>
std::string MCNode< ObjectT, PreMultiContainerKeyT >::obj_type_str_
protected

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