2 #include "XMLPorts.hxx"
6 using namespace YACS::ENGINE;
9 InputXmlPort::InputXmlPort(const string& name, Node * node, TypeCode * type)
10 : InputPort(name, node, type), Port(node)
15 const char * InputXmlPort::getXml() const
20 void InputXmlPort::put(const void *data) throw (ConversionException)
22 put((const char*)data);
26 void InputXmlPort::put(const char *data) throw (ConversionException)
28 cerr << "InputXmlPort::put" << endl;
30 cerr << "data: " << data << endl;
35 OutputXmlPort::OutputXmlPort(const string& name, Node* node, TypeCode * type)
36 : OutputPort(name, node, type), Port(node)
41 const char * OutputXmlPort::get() const throw (ConversionException)
46 void OutputXmlPort::put(const void *data) throw (ConversionException)
48 put((const char*)data);
51 void OutputXmlPort::put(const char *data) throw (ConversionException)
53 cerr << "OutputXmlPort::put-------" << getName() << endl;
55 cerr << "data: " << data << endl;
57 set<InputPort *>::iterator iter;
58 for(iter=_setOfInputPort.begin();iter!=_setOfInputPort.end();iter++)