CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AIDA::ITreeFactory Class Reference

#include <ITreeFactory.h>

List of all members.

Public Methods

virtual ~ITreeFactory ()
 Destructor. More...

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


Detailed Description

The creator of trees.

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

Definition at line 27 of file ITreeFactory.h.


Constructor & Destructor Documentation

AIDA::ITreeFactory::~ITreeFactory ( ) [inline, virtual]
 

Definition at line 31 of file ITreeFactory.h.


Member Function Documentation

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:
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

ITree * AIDA::ITreeFactory::create ( ) [pure virtual]
 

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


The documentation for this class was generated from the following file:
Generated at Tue Feb 18 15:48:24 2003 for AIDA_Interfaces by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001