Luiza  v03-01
CCCollection.h
1 #ifndef CCCOLLECTION_H
2 #define CCCOLLECTION_H
3 
4 #include <string>
5 
6 namespace luiza {
7 
8  class CCProcessor;
9 
17  class CCCollection{
18 
19  public:
20 
21  //constructor
22  CCCollection( const std::string& value="", const std::string& type="", const std::string& name="", CCProcessor* srcProc=NULL );
23 
24  //copy constructor
25  CCCollection( const CCCollection &c );
26 
27  //destructor
28  ~CCCollection();
29 
30  const std::string& getValue() const { return _value; }
31  const std::string& getType() const { return _type; }
32  const std::string& getName() const { return _name; }
33 
35  CCProcessor* getSrcProc(){ return _srcProc; }
36 
37  void setValue( const std::string& value );
38  void setType( const std::string& type );
39  void setName( const std::string& name );
40 
42  void setSrcProc( CCProcessor* srcProc );
43 
44  private:
45 
46  std::string _value; // gloria collection name
47  std::string _type; // gloria collection type
48  std::string _name; // parameter "name" of the collection in the xml file
49  CCProcessor* _srcProc; // CCProcessor associated to this collection
50  };
51 
52 } // namespace
53 #endif
CCProcessor * getSrcProc()
Definition: CCCollection.h:35
void setSrcProc(CCProcessor *srcProc)
Definition: CCCollection.cc:37
Namespace for Luiza framework.
Definition: CCCollection.h:6
Definition: CCCollection.h:17
Definition: CCProcessor.h:43