Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHIODataNode< T > Class Template Reference

#include <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 &n)
 
virtual void setResetFlag (const bool b)
 
virtual bool getResetFlag () const
 
void makeTransient ()
 

Protected Member Functions

bool write (PHIOManager *, const std::string &="") override
 
 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 = nullptr
 
bool persistent = true
 
std::string type = "PHNode"
 
std::string objecttype
 
std::string name
 
bool reset_able = true
 
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 &  n 
)

Definition at line 39 of file PHIODataNode.h.

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

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

template<class T >
PHIODataNode< T >::PHIODataNode ( T d,
const std::string &  n,
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 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, and size.

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 = "" 
)
overrideprotectedvirtual

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, configureMap::data, perf_headwind::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: