00001 // $Header: /bes/bes/BossCvs/Calibration/rdbModel/rdbModel/Tables/InterRow.h,v 1.1.1.1 2005/10/17 06:10:53 maqm Exp $ 00002 #ifndef RDBMODEL_INTERROW_H 00003 #define RDBMODEL_INTERROW_H 00004 #include <vector> 00005 #include <string> 00006 #include "rdbModel/Management/Visitor.h" 00007 00008 namespace rdbModel{ 00009 00010 class Query; 00011 class Set; 00012 class Table; 00013 00018 class InterRow { 00019 public: 00020 InterRow(Table* table, Query* query=0, bool quit=true); 00021 00022 void addSet(const Set& set); 00023 const std::vector<Set>& getSets() const {return m_sets;} 00024 const Query* getQuery() const {return m_query;} 00025 bool getQuit() const {return m_quit;} 00026 const Table* getTable() const {return m_myTable;} 00027 00034 ~InterRow(); 00035 // WHEN getWhen() const {return m_when;} 00036 Visitor::VisitorState accept(Visitor* v); 00037 00038 00039 private: 00040 Table* m_myTable; 00041 // bool m_keepOp; 00042 std::vector<Set> m_sets; 00043 Query* m_query; 00044 bool m_quit; 00045 }; 00046 } 00047 #endif 00048