RAIDA  1.9.0
ITreeFactory.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef AIDA_ITREEFACTORY_H
8 #define AIDA_ITREEFACTORY_H 1
9 
10 // This file is part of the AIDA library
11 // Copyright (C) 2002 by the AIDA team. All rights reserved.
12 // This library is free software and under the terms of the
13 // GNU Library General Public License described in the LGPL.txt
14 
15 #include <string>
16 
17 namespace AIDA {
18 
19 class ITree;
20 
27 class ITreeFactory {
28 
29 public:
31  virtual ~ITreeFactory() { /* nop */; }
32 
36  virtual ITree * create() = 0;
37 
50  virtual ITree * create(const std::string & storeName, const std::string & storeType = "", bool readOnly = false, bool createNew = false, const std::string & options = "") = 0;
51 }; // class
52 } // namespace AIDA
53 #endif /* ifndef AIDA_ITREEFACTORY_H */
class IManagedObject;
Definition: ITree.h:37
The creator of trees.
Definition: ITreeFactory.h:27
virtual ITree * create()=0
Creates a new tree that is not associated with a store.
virtual ~ITreeFactory()
Destructor.
Definition: ITreeFactory.h:31