00001
00002 #ifndef ANAPHE_TREEFACTORY
00003 #define ANAPHE_TREEFACTORY 1
00004
00005 #include <string>
00006 #include "AIDA/ITreeFactory.h"
00007
00008
00009 namespace AIDA {
00010 class ITree;
00011 }
00012
00013 namespace Anaphe {
00014 namespace AIDA_Tree_native {
00015
00017
00018 class AIDA_TreeFactory : public virtual AIDA::ITreeFactory
00019 {
00020 public:
00022 AIDA_TreeFactory();
00024 ~AIDA_TreeFactory();
00026 AIDA::ITree* create();
00027 AIDA::ITree* create( const std::string & storeName,
00028 const std::string & storeType = "",
00029 bool readOnly = false,
00030 bool createNew = true,
00031 const std::string & options = "" );
00032 };
00033
00034 }
00035 }
00036
00037 #endif