This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
00001 // -*- C++ -*- 00002 // AID-GENERATED 00003 // ========================================================================= 00004 // This class was generated by AID - Abstract Interface Definition 00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 00006 // ========================================================================= 00007 #ifndef AIDA_ITUPLEFACTORY_H 00008 #define AIDA_ITUPLEFACTORY_H 1 00009 00010 // This file is part of the AIDA library 00011 // Copyright (C) 2002 by the AIDA team. All rights reserved. 00012 // This library is free software and under the terms of the 00013 // GNU Library General Public License described in the LGPL.txt 00014 00015 #include <string> 00016 #include <vector> 00017 00018 namespace AIDA { 00019 00020 class IEvaluator; 00021 class IFilter; 00022 class ITuple; 00023 00030 class ITupleFactory { 00031 00032 public: 00034 virtual ~ITupleFactory() { /* nop */; } 00035 00045 virtual ITuple * create(const std::string & name, const std::string & title, const std::vector<std::string> & columnNames, const std::vector<std::string> & columnType, const std::string & options = "") = 0; 00046 00055 virtual ITuple * create(const std::string & name, const std::string & title, const std::string & columns, const std::string & options = "") = 0; 00056 00066 virtual ITuple * createChained(const std::string & name, const std::string & title, const std::vector<ITuple *> & set) = 0; 00067 00077 virtual ITuple * createChained(const std::string & name, const std::string & title, const std::vector<std::string> & set) = 0; 00078 00087 virtual ITuple * createFiltered(const std::string & name, ITuple & tuple, IFilter & filter) = 0; 00088 00099 virtual ITuple * createFiltered(const std::string & name, ITuple & tuple, IFilter & filter, const std::vector<std::string> & columns) = 0; 00100 00106 virtual IFilter * createFilter(const std::string & expression) = 0; 00107 00116 virtual IFilter * createFilter(const std::string & expression, int rowsToProcess, int startingRow = 0) = 0; 00117 00123 virtual IEvaluator * createEvaluator(const std::string & expression) = 0; 00124 }; // class 00125 }; // namespace AIDA 00126 #endif /* ifndef AIDA_ITUPLEFACTORY_H */