Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ITreeFactory Class Reference

#include <ITreeFactory.h>

List of all members.


Detailed Description

The creator of trees.

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

Definition at line 27 of file ITreeFactory.h.


Public Member Functions

virtual ~ITreeFactory ()
 Destructor.
virtual ITreecreate ()=0
virtual ITreecreate (const std::string &storeName, const std::string &storeType="", bool readOnly=false, bool createNew=false, const std::string &options="")=0

Constructor & Destructor Documentation

virtual ~ITreeFactory  )  [inline, virtual]
 

Destructor.

Definition at line 31 of file ITreeFactory.h.


Member Function Documentation

virtual ITree* 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:
storeName The name of the store, if empty (""), the tree is created in memory and therefore will not be associated with a file.
storeType Implementation specific string, may control store type
readOnly If true the store is opened readonly, an exception if it does not exist
createNew If false the file must exist, if true the file will be created
options Other options, currently are not specified

virtual ITree* create  )  [pure virtual]
 

Creates a new tree that is not associated with a store.

Referenced by main().


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