Salome HOME
5d42dbf20466cb49d442c83056401ce7fa971206
[modules/yacs.git] / src / engine / ComponentDefinition.hxx
1 #ifndef __COMPONENTDEFINITION_HXX__
2 #define __COMPONENTDEFINITION_HXX__
3
4 #include <map>
5 #include <string>
6
7 namespace YACS
8 {
9   namespace ENGINE
10   {
11     class ServiceNode;
12
13 /*! \brief Base class for component definition.
14  *
15  *
16  */
17     class ComponentDefinition 
18     {
19     public:
20       ComponentDefinition(const std::string& name);
21       const std::string& getName() const { return _name; }
22       virtual ~ComponentDefinition();
23       std::map<std::string,ServiceNode*> _serviceMap;
24     protected:
25       std::string _name;
26     };
27   }
28 }
29
30 #endif