RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::ITreeFactory Class Referenceabstract

The creator of trees. More...

#include <ITreeFactory.h>

Inheritance diagram for AIDA::ITreeFactory:
AIDA::ITreeFactoryROOT

Public Member Functions

virtual ~ITreeFactory ()
 Destructor.
 
virtual ITreecreate ()=0
 Creates a new tree that is not associated with a store.
 
virtual ITreecreate (const std::string &storeName, const std::string &storeType="", bool readOnly=false, bool createNew=false, const std::string &options="")=0
 Creates a new tree and associates it with a store. More...
 

Detailed Description

The creator of trees.

Author
The AIDA team (http://aida.freehep.org/)

Member Function Documentation

virtual ITree* AIDA::ITreeFactory::create ( const std::string &  storeName,
const std::string &  storeType = "",
bool  readOnly = false,
bool  createNew = false,
const std::string &  options = "" 
)
pure virtual

Creates a new tree and associates it with a store.

The store is assumed to be read/write. The store will be created if it does not exist.

Parameters
storeNameThe name of the store, if empty (""), the tree is created in memory and therefore will not be associated with a file.
storeTypeImplementation specific string, may control store type
readOnlyIf true the store is opened readonly, an exception if it does not exist
createNewIf false the file must exist, if true the file will be created
optionsOther options, currently are not specified

Implemented in AIDA::ITreeFactoryROOT.


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