Salome HOME
merge from branch DEV tag mergeto_trunk_04apr08
[modules/yacs.git] / src / runtime / PresetNode.hxx
1
2 #ifndef _PRESETNODE_HXX_
3 #define _PRESETNODE_HXX_
4
5 #include "DataNode.hxx"
6
7 namespace YACS
8 {
9   namespace ENGINE
10   {
11     class PresetNode: public DataNode
12     {
13     protected:
14       Node *simpleClone(ComposedNode *father, bool editionOnly) const;
15     public:
16       PresetNode(const std::string& name);
17       PresetNode(const PresetNode& other, ComposedNode *father);
18       virtual void execute();
19       virtual void accept(Visitor *visitor);
20       virtual void checkBasicConsistency() const throw(Exception);
21       virtual void setData(OutputPort* port, std::string& data);
22       virtual OutputPort *createOutputPort(const std::string& outputPortName, TypeCode* type);
23     public:
24       static const char IMPL_NAME[];
25     };
26   }
27 }
28
29 #endif