2 #ifndef _TYPECONVERSIONS_HXX_
3 #define _TYPECONVERSIONS_HXX_
6 #include <omniORB4/CORBA.h>
7 #include <libxml/parser.h>
27 CORBA::TypeCode_ptr getCorbaTC(const TypeCode *t);
29 int isAdaptableCorbaPyObject(const TypeCode * t1, const TypeCode * t2);
30 int isAdaptableCorbaNeutral(const TypeCode * t1, const TypeCode * t2);
31 int isAdaptableCorbaCorba(const TypeCode * t1, const TypeCode * t2);
33 int isAdaptableNeutralCorba(const TypeCode * t1, const TypeCode * t2);
34 int isAdaptableNeutralNeutral(const TypeCode * t1, const TypeCode * t2);
35 int isAdaptableNeutralXml(const TypeCode * t1, const TypeCode * t2);
36 int isAdaptableNeutralPyObject(const TypeCode * t1, const TypeCode * t2);
38 int isAdaptablePyObjectPyObject(const TypeCode * t1, const TypeCode * t2);
39 int isAdaptablePyObjectCorba(const TypeCode * t1, const TypeCode * t2);
40 int isAdaptablePyObjectNeutral(const TypeCode * t1, const TypeCode * t2);
42 int isAdaptableXmlNeutral(const TypeCode *t1,const TypeCode *t2);
43 int isAdaptableXmlCorba(const TypeCode *t1, const TypeCode *t2);
45 PyObject *convertCorbaPyObject(const TypeCode * t,CORBA::Any* ob);
46 CORBA::Any *convertCorbaCorba(const TypeCode * t,CORBA::Any* ob);
47 YACS::ENGINE::Any *convertCorbaNeutral(const TypeCode *t,CORBA::Any* ob);
48 std::string convertCorbaXml(const TypeCode * t,CORBA::Any* ob);
50 CORBA::Any *convertPyObjectCorba(const TypeCode *t,PyObject *ob);
51 std::string convertPyObjectXml(const TypeCode * t,PyObject* ob);
52 YACS::ENGINE::Any *convertPyObjectNeutral(const TypeCode *t,PyObject* ob);
54 PyObject *convertXmlPyObject(const TypeCode * t,xmlDocPtr doc,xmlNodePtr cur );
55 CORBA::Any *convertXmlCorba(const TypeCode * t,xmlDocPtr doc,xmlNodePtr cur );
56 YACS::ENGINE::Any *convertXmlNeutral(const TypeCode * t,xmlDocPtr doc,xmlNodePtr cur );
58 PyObject *convertNeutralPyObject(const TypeCode * t,YACS::ENGINE::Any* ob);
59 std::string convertNeutralXml(const TypeCode * t,YACS::ENGINE::Any* ob);
60 CORBA::Any *convertNeutralCorba(const TypeCode *t,YACS::ENGINE::Any *ob);
61 YACS::ENGINE::Any *convertNeutralNeutral(const TypeCode *t, YACS::ENGINE::Any* ob);