Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

CCCollection.h

00001 #ifndef CCCOLLECTION_H
00002 #define CCCOLLECTION_H
00003 
00004 #include <string>
00005 
00006 namespace marlin {
00007 
00008   class CCProcessor;
00009  
00017   class CCCollection{
00018     
00019   public:
00020 
00021     //constructor
00022     CCCollection( const std::string& value="", const std::string& type="", const std::string& name="", CCProcessor* srcProc=NULL );
00023     
00024     //copy constructor
00025     CCCollection( const CCCollection &c );
00026     
00027     //destructor
00028     ~CCCollection();
00029     
00030     const std::string& getValue() const { return _value; }
00031     const std::string& getType() const { return _type; }
00032     const std::string& getName() const { return _name; }
00033 
00035     CCProcessor* getSrcProc(){ return _srcProc; } 
00036     
00037     void setValue( const std::string& value );
00038     void setType( const std::string& type );
00039     void setName( const std::string& name );
00040     
00042     void setSrcProc( CCProcessor* srcProc );
00043     
00044   private:
00045     
00046     std::string _value;     // lcio collection name
00047     std::string _type;      // lcio collection type
00048     std::string _name;      // parameter "name" of the collection in the xml file
00049     CCProcessor* _srcProc;  // CCProcessor associated to this collection
00050   };
00051 
00052 } // namespace
00053 #endif

Generated on Mon Jan 12 09:48:50 2009 for Marlin by doxygen 1.3.5