Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / engine / ServiceInlineNode.hxx
1 #ifndef __SERVICEINLINENODE_HXX__
2 #define __SERVICEINLINENODE_HXX__
3
4 #include "ServiceNode.hxx"
5 #include <string>
6
7 namespace YACS
8 {
9   namespace ENGINE
10   {
11     class Visitor;
12     
13     class ServiceInlineNode: public ServiceNode 
14     {
15     protected:
16       ServiceInlineNode(const std::string& name);
17       ServiceInlineNode(const ServiceInlineNode& other, ComposedNode *father);
18     public:
19       void setScript (const std::string &script);
20       std::string getScript() const;
21       void accept(Visitor *visitor);
22     protected:
23       std::string _script;
24     };
25   }
26 }
27
28 #endif