2 #ifndef _PRESETNODE_HXX_
3 #define _PRESETNODE_HXX_
5 #include "DataNode.hxx"
11 class PresetNode: public DataNode
14 Node *simpleClone(ComposedNode *father, bool editionOnly) const;
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);
24 static const char IMPL_NAME[];