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
00022 CCCollection( const std::string& value="", const std::string& type="", const std::string& name="", CCProcessor* srcProc=NULL );
00023
00024
00025 CCCollection( const CCCollection &c );
00026
00027
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;
00047 std::string _type;
00048 std::string _name;
00049 CCProcessor* _srcProc;
00050 };
00051
00052 }
00053 #endif