EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHIODataNode< T > Class Template Reference

#include <fun4all_coresoftware/blob/master/offline/framework/phool/PHIODataNode.h>

+ Inheritance diagram for PHIODataNode< T >:
+ Collaboration diagram for PHIODataNode< T >:

Public Types

typedef PHTypedNodeIterator< Titerator
 

Public Member Functions

Toperator* ()
 
 PHIODataNode (T *, const std::string &)
 
 PHIODataNode (T *, const std::string &, const std::string &)
 
virtual ~PHIODataNode ()
 
void BufferSize (int size)
 
void SplitLevel (int split)
 
- Public Member Functions inherited from PHDataNode< T >
 PHDataNode (T *, const std::string &)
 
 PHDataNode (T *, const std::string &, const std::string &)
 
 ~PHDataNode () override
 
TgetData ()
 
void setData (T *d)
 
void prune () override
 
void forgetMe (PHNode *) override
 
void print (const std::string &) override
 
- Public Member Functions inherited from PHNode
 PHNode (const std::string &)
 
 PHNode (const std::string &, const std::string &)
 
virtual ~PHNode ()
 
PHNodegetParent () const
 
bool isPersistent () const
 
void makePersistent ()
 
const std::string getObjectType () const
 
const std::string getType () const
 
const std::string getName () const
 
const std::string getClass () const
 
void setParent (PHNode *p)
 
void setName (const std::string &n)
 
void setObjectType (const std::string &type)
 
virtual void setResetFlag (const bool b)
 
virtual bool getResetFlag () const
 
void makeTransient ()
 

Protected Member Functions

virtual bool write (PHIOManager *, const std::string &="")
 
 PHIODataNode ()=delete
 
- Protected Member Functions inherited from PHDataNode< T >
 PHDataNode ()=delete
 

Protected Attributes

int buffersize
 
int splitlevel
 
- Protected Attributes inherited from PHDataNode< T >
tobjcast data
 
- Protected Attributes inherited from PHNode
PHNodeparent
 
bool persistent
 
std::string type
 
std::string objecttype
 
std::string name
 
bool reset_able
 
std::string objectclass
 

Friends

class PHNodeIOManager
 

Detailed Description

template<typename T>
class PHIODataNode< T >

Definition at line 18 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 18 of file PHIODataNode.h

Member Typedef Documentation

template<typename T>
typedef PHTypedNodeIterator<T> PHIODataNode< T >::iterator

Definition at line 27 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 27 of file PHIODataNode.h

Constructor & Destructor Documentation

template<class T >
PHIODataNode< T >::PHIODataNode ( T d,
const std::string &  name 
)

Definition at line 39 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 39 of file PHIODataNode.h

References d, PHNode::objectclass, and PHNode::type.

template<class T >
PHIODataNode< T >::PHIODataNode ( T d,
const std::string &  name,
const std::string &  objtype 
)

Definition at line 50 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 50 of file PHIODataNode.h

References d, PHNode::objectclass, and PHNode::type.

template<typename T>
virtual PHIODataNode< T >::~PHIODataNode ( )
inlinevirtual

Definition at line 26 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 26 of file PHIODataNode.h

template<typename T>
PHIODataNode< T >::PHIODataNode ( )
protecteddelete

Member Function Documentation

template<typename T>
void PHIODataNode< T >::BufferSize ( int  size)
inline

Definition at line 28 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 28 of file PHIODataNode.h

References PHIODataNode< T >::buffersize.

template<typename T>
T* PHIODataNode< T >::operator* ( )
inline

Definition at line 23 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 23 of file PHIODataNode.h

References PHDataNode< T >::getData().

+ Here is the call graph for this function:

template<typename T>
void PHIODataNode< T >::SplitLevel ( int  split)
inline

Definition at line 29 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 29 of file PHIODataNode.h

References PHIODataNode< T >::splitlevel.

template<class T >
bool PHIODataNode< T >::write ( PHIOManager IOManager,
const std::string &  path = "" 
)
protectedvirtual

Reimplemented from PHDataNode< T >.

Definition at line 62 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 62 of file PHIODataNode.h

References phooldefs::branchpathdelim, data, name, and PHNodeIOManager::write().

+ Here is the call graph for this function:

Friends And Related Function Documentation

template<typename T>
friend class PHNodeIOManager
friend

Definition at line 20 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 20 of file PHIODataNode.h

Member Data Documentation

template<typename T>
int PHIODataNode< T >::buffersize
protected

Definition at line 34 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 34 of file PHIODataNode.h

Referenced by PHIODataNode< T >::BufferSize().

template<typename T>
int PHIODataNode< T >::splitlevel
protected

Definition at line 35 of file PHIODataNode.h.

View newest version in sPHENIX GitHub at line 35 of file PHIODataNode.h

Referenced by PHIODataNode< T >::SplitLevel().


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