50 Port(other,newHelder),_storeData(other._storeData)
71 std::string what(
"OutputPresetPort: ");
73 what +=
" is not initialised";
91 value=
"<value><double>"+
_storeData+
"</double></value>";
94 value=
"<value><int>"+
_storeData+
"</int></value>";
97 value=
"<value><string>"+
_storeData+
"</string></value>";
100 value=
"<value><boolean>"+
_storeData+
"</boolean></value>";
103 value=
"<value><objref>"+
_storeData+
"</objref></value>";
107 value=
"<value><array><data>"+
_storeData+
"</data></array></value>";
110 value=
"<value><struct><data>"+
_storeData+
"</data></struct></value>";
165 Port(other,newHelder),_storeData(other._storeData)
TypeCode * edGetType() const
std::string getName() const
Base class for all nodes.
Class for PRESET output Ports.
virtual PyObject * getPyObj()
OutputPresetPort(const std::string &name, Node *node, TypeCode *type)
virtual std::string getAsString()
returns port value as a string that can be used in a GUI for example
virtual std::string dump()
virtual void checkBasicConsistency() const
Check validity of output port. Nothing on base class.
void setData(std::string data)
OutputPort * clone(Node *newHelder) const
Class for XML Output Ports.
Base class for all ports.
Base class for all type objects.
PyObject * convertXmlStrPyObject(const TypeCode *t, std::string data)
std::string convertPyObjectToString(PyObject *ob)