00001 // $Id: ITupleTool.h,v 1.2 2004/10/18 08:18:00 mato Exp $ 00002 // ============================================================================ 00003 #ifndef GAUDIALG_ITUPLETOOL_H 00004 #define GAUDIALG_ITUPLETOOL_H 1 00005 // ============================================================================ 00006 // Include files 00007 // ============================================================================ 00008 // STD & STL 00009 // ============================================================================ 00010 #include <string> 00011 // ============================================================================ 00012 // Gaudi 00013 // ============================================================================ 00014 #include "GaudiKernel/IAlgTool.h" 00015 #include "GaudiKernel/ClassID.h" 00016 // ============================================================================ 00017 // GaudiAlg 00018 // ============================================================================ 00019 #include "GaudiAlg/TupleID.h" 00020 #include "GaudiAlg/Tuple.h" 00021 // ============================================================================ 00022 00023 00024 // ============================================================================ 00031 // ============================================================================ 00032 00033 class ITupleTool : virtual public IAlgTool 00034 { 00035 public: 00036 typedef Tuples::TupleID TupleID ; 00037 typedef Tuples::Tuple Tuple ; 00038 public: 00039 00041 static const InterfaceID& interfaceID() ; 00042 00043 public: 00044 00064 virtual Tuple nTuple 00065 ( const std::string& title , 00066 const CLID& clid = CLID_ColumnWiseTuple ) const = 0 ; 00067 00068 virtual Tuple nTuple 00069 ( const TupleID& ID , 00070 const std::string& title = "" , 00071 const CLID& clid = CLID_ColumnWiseTuple ) const = 0 ; 00072 00073 virtual Tuple evtCol 00074 ( const std::string& title , 00075 const CLID& clid = CLID_RowWiseTuple ) const = 0 ; 00076 00077 virtual Tuple evtCol 00078 ( const TupleID& ID , 00079 const std::string& title = "" , 00080 const CLID& clid = CLID_RowWiseTuple ) const = 0 ; 00081 00082 protected: 00083 00084 virtual ~ITupleTool( ); 00085 00086 }; 00087 00088 // ============================================================================ 00089 #endif // GAUDIALG_ITUPLETOOL_H 00090 // ============================================================================