Version: 8.3.0
TypeConversions.cxx File Reference
#include "TypeConversions.hxx"
#include "ConversionException.hxx"
#include "RuntimeSALOME.hxx"
#include "Salome_file_i.hxx"
#include "TypeCode.hxx"
#include "Cstr2d.hxx"
#include "SALOME_GenericObj.hh"
#include <iostream>
#include <iomanip>
#include <sstream>
#include "YacsTrace.hxx"
Include dependency graph for TypeConversions.cxx:

Go to the source code of this file.

Classes

struct  YACS::ENGINE::isAdaptableDouble< IMPLIN, IMPLOUT >
 
struct  YACS::ENGINE::isAdaptableInt< IMPLIN, IMPLOUT >
 
struct  YACS::ENGINE::isAdaptableString< IMPLIN, IMPLOUT >
 
struct  YACS::ENGINE::isAdaptableBool< IMPLIN, IMPLOUT >
 
struct  YACS::ENGINE::isAdaptableObjref< IMPLIN, IMPLOUT >
 
struct  YACS::ENGINE::isAdaptableSequence< IMPLIN, IMPLOUT >
 
struct  YACS::ENGINE::isAdaptableArray< IMPLIN, IMPLOUT >
 
struct  YACS::ENGINE::isAdaptableStruct< IMPLIN, IMPLOUT >
 
struct  YACS::ENGINE::convertToYacsDouble< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >
 Basic template convertor from type TIN to Yacs<TOUT> type. More...
 
struct  YACS::ENGINE::convertToYacsInt< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsString< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsBool< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsObjref< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsSequence< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsArray< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsStruct< IMPLIN, TIN, TIN2, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsDouble< IMPLOUT, TOUT >
 Basic convertor from Yacs<TOUT> type to full TOUT type. More...
 
struct  YACS::ENGINE::convertFromYacsInt< IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsString< IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsBool< IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsObjref< IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsSequence< IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsArray< IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsStruct< IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsDouble< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 ToYacs Convertor for PYTHONImpl. More...
 
struct  YACS::ENGINE::convertToYacsInt< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsString< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsBool< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsObjref< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsSequence< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsStruct< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsDouble< PYTHONImpl, PyObject * >
 FromYacs Convertor for PYTHONImpl. More...
 
struct  YACS::ENGINE::convertFromYacsInt< PYTHONImpl, PyObject * >
 
struct  YACS::ENGINE::convertFromYacsString< PYTHONImpl, PyObject * >
 
struct  YACS::ENGINE::convertFromYacsBool< PYTHONImpl, PyObject * >
 
struct  YACS::ENGINE::convertFromYacsObjref< PYTHONImpl, PyObject * >
 
struct  YACS::ENGINE::convertFromYacsSequence< PYTHONImpl, PyObject * >
 
struct  YACS::ENGINE::convertFromYacsStruct< PYTHONImpl, PyObject * >
 
struct  YACS::ENGINE::convertToYacsDouble< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 ToYacs Convertor for XMLImpl. More...
 
struct  YACS::ENGINE::convertToYacsInt< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsString< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsBool< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsObjref< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsSequence< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsStruct< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsDouble< XMLImpl, std::string >
 FromYacs Convertor for XMLImpl. More...
 
struct  YACS::ENGINE::convertFromYacsInt< XMLImpl, std::string >
 
struct  YACS::ENGINE::convertFromYacsString< XMLImpl, std::string >
 
struct  YACS::ENGINE::convertFromYacsBool< XMLImpl, std::string >
 
struct  YACS::ENGINE::convertFromYacsObjref< XMLImpl, std::string >
 
struct  YACS::ENGINE::convertFromYacsSequence< XMLImpl, std::string >
 
struct  YACS::ENGINE::convertFromYacsStruct< XMLImpl, std::string >
 
struct  YACS::ENGINE::convertToYacsDouble< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 ToYacs Convertor for NEUTRALImpl. More...
 
struct  YACS::ENGINE::convertToYacsInt< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsString< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsBool< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsObjref< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsSequence< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsStruct< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsDouble< NEUTRALImpl, YACS::ENGINE::Any * >
 FromYacs Convertor for NEUTRALImpl. More...
 
struct  YACS::ENGINE::convertFromYacsInt< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  YACS::ENGINE::convertFromYacsString< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  YACS::ENGINE::convertFromYacsBool< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  YACS::ENGINE::convertFromYacsObjref< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  YACS::ENGINE::convertFromYacsSequence< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  YACS::ENGINE::convertFromYacsStruct< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  YACS::ENGINE::convertToYacsDouble< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 ToYacs Convertor for CORBAImpl. More...
 
struct  YACS::ENGINE::convertToYacsInt< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsString< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsBool< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsObjref< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsSequence< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertToYacsStruct< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  YACS::ENGINE::convertFromYacsDouble< CORBAImpl, CORBA::Any * >
 FromYacs Convertor for CORBAImpl. More...
 
struct  YACS::ENGINE::convertFromYacsInt< CORBAImpl, CORBA::Any * >
 
struct  YACS::ENGINE::convertFromYacsString< CORBAImpl, CORBA::Any * >
 
struct  YACS::ENGINE::convertFromYacsBool< CORBAImpl, CORBA::Any * >
 
struct  YACS::ENGINE::convertFromYacsObjref< CORBAImpl, CORBA::Any * >
 
struct  YACS::ENGINE::convertFromYacsSequence< CORBAImpl, CORBA::Any * >
 
struct  YACS::ENGINE::convertFromYacsStruct< CORBAImpl, CORBA::Any * >
 
struct  YACS::ENGINE::convertToYacsDouble< CPPImpl, void *, const TypeCode *, IMPLOUT, TOUT >
 ToYacs Convertor for CPPImpl. More...
 
struct  YACS::ENGINE::convertToYacsInt< CPPImpl, void *, const TypeCode *, IMPLOUT, TOUT >
 

Namespaces

namespace  YACS
 
namespace  YACS::ENGINE
 

Typedefs

typedef CORBA::TypeCode_ptr(* YACS::ENGINE::getCorbaTCFn )(const TypeCode *)
 

Functions

void YACS::ENGINE::printbin (const std::string &bin)
 
std::string YACS::ENGINE::getImplName (ImplType impl)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCNull (const TypeCode *t)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCDouble (const TypeCode *t)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCInt (const TypeCode *t)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCString (const TypeCode *t)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCBool (const TypeCode *t)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCObjref (const TypeCode *t)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCSequence (const TypeCode *t)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCStruct (const TypeCode *t)
 
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTC (const TypeCode *t)
 
template<ImplType IMPLIN, ImplType IMPLOUT>
int YACS::ENGINE::isAdaptable (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableCorbaPyObject (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableNeutralPyObject (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptablePyObjectPyObject (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableCorbaNeutral (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptablePyObjectNeutral (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableXmlNeutral (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableNeutralNeutral (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableNeutralXml (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableNeutralCorba (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableXmlCorba (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptableCorbaCorba (const TypeCode *t1, const TypeCode *t2)
 
int YACS::ENGINE::isAdaptablePyObjectCorba (const TypeCode *t1, const TypeCode *t2)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertDouble (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertInt (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertString (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertBool (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertObjref (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertSequence (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertArray (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertStruct (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::YacsConvertor (const TypeCode *t, TIN o, TIN2 aux)
 
template<>
CORBA::Any * YACS::ENGINE::convertDouble< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * YACS::ENGINE::convertInt< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * YACS::ENGINE::convertString< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * YACS::ENGINE::convertBool< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * YACS::ENGINE::convertObjref< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * YACS::ENGINE::convertStruct< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
std::string YACS::ENGINE::convertPyObjectXml (const TypeCode *t, PyObject *data)
 
YACS::ENGINE::AnyYACS::ENGINE::convertPyObjectNeutral (const TypeCode *t, PyObject *data)
 
CORBA::Any * YACS::ENGINE::convertPyObjectCorba (const TypeCode *t, PyObject *data)
 
PyObject * YACS::ENGINE::convertPyObjectPyObject (const TypeCode *t, PyObject *data)
 
std::string YACS::ENGINE::convertPyObjectToString (PyObject *ob)
 
PyObject * YACS::ENGINE::convertXmlPyObject (const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)
 
YACS::ENGINE::AnyYACS::ENGINE::convertXmlNeutral (const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)
 
CORBA::Any * YACS::ENGINE::convertXmlCorba (const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)
 
PyObject * YACS::ENGINE::convertXmlStrPyObject (const TypeCode *t, std::string data)
 
PyObject * YACS::ENGINE::convertNeutralPyObject (const TypeCode *t, YACS::ENGINE::Any *data)
 
std::string YACS::ENGINE::convertNeutralXml (const TypeCode *t, YACS::ENGINE::Any *data)
 
CORBA::Any * YACS::ENGINE::convertNeutralCorba (const TypeCode *t, YACS::ENGINE::Any *data)
 
YACS::ENGINE::AnyYACS::ENGINE::convertNeutralNeutral (const TypeCode *t, YACS::ENGINE::Any *data)
 
PyObject * YACS::ENGINE::convertCorbaPyObject (const TypeCode *t, CORBA::Any *data)
 
std::string YACS::ENGINE::convertCorbaXml (const TypeCode *t, CORBA::Any *data)
 
YACS::ENGINE::AnyYACS::ENGINE::convertCorbaNeutral (const TypeCode *t, CORBA::Any *data)
 
CORBA::Any * YACS::ENGINE::convertCorbaCorba (const TypeCode *t, CORBA::Any *data)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkDouble (const TypeCode *t, TIN o, TIN2 aux)
 Basic template checker from type TIN. More...
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkInt (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkBool (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkString (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkObjref (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkSequence (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkStruct (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkArray (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
bool YACS::ENGINE::YacsChecker (const TypeCode *t, TIN o, TIN2 aux)
 
template<>
bool YACS::ENGINE::checkDouble< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool YACS::ENGINE::checkInt< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool YACS::ENGINE::checkBool< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool YACS::ENGINE::checkString< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool YACS::ENGINE::checkObjref< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool YACS::ENGINE::checkSequence< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool YACS::ENGINE::checkStruct< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
bool YACS::ENGINE::checkPyObject (const TypeCode *t, PyObject *ob)
 

Variables

getCorbaTCFn YACS::ENGINE::getCorbaTCFns []