1 #ifndef __ANYINPUTPORT_HXX__
2 #define __ANYINPUTPORT_HXX__
4 #include "InputPort.hxx"
11 class AnyInputPort : public InputPort
14 AnyInputPort(const std::string& name, Node *node, TypeCode* type);
15 AnyInputPort(const AnyInputPort& other, Node *newHelder);
16 virtual ~AnyInputPort();
19 Any *getValue() const { return _value; }
20 int getIntValue() const { return _value->getIntValue(); }
23 virtual bool isEmpty();
24 void put(const void *data) throw(ConversionException);
25 InputPort *clone(Node *newHelder) const;