Version: 8.3.0
YACS::ENGINE Namespace Reference

Classes

class  AbstractPoint
 
class  StringOnHeap
 
class  Any
 : Interface for management of storage of data formated dynamically in its TypeCode. Warning virtual inheritance on Any daughter classes NOT supported. More...
 
class  AtomAny
 
class  SeqAlloc
 
class  ComposedAny
 
class  SequenceAny
 
class  ArrayAny
 
class  StructAny
 
class  AnyInputPort
 
class  AnyOutputPort
 
class  BagPoint
 
class  Bloc
 Composed node to group elementary and composed nodes. More...
 
struct  CFDirectionVisTraits
 
struct  CFDirectionVisTraits< true >
 
struct  CFDirectionVisTraits< false >
 
class  BlocPoint
 
class  Catalog
 class for YACS catalogs. More...
 
class  CatalogLoader
 class for YACS catalog loader. More...
 
class  ComponentDefinition
 Base class for component definition. More...
 
class  ComponentInstance
 Base class for all component instances. More...
 
class  ComposedNode
 Base class for all composed nodes. More...
 
class  ConditionInputPort
 
class  Container
 
class  ConversionException
 
class  DataFlowPort
 
class  DataNode
 Class for data parameters specification. More...
 
class  DataPort
 
class  DataStreamPort
 
class  DeploymentTreeOnHeap
 
class  DeploymentTree
 
class  Observer
 Base class for observer in observer pattern. More...
 
class  Dispatcher
 Base class for dispatcher in observer pattern. More...
 
class  DynParaLoop
 Base class for dynamically (fully or semifully) built graphs. More...
 
class  ElementaryNode
 Base class for all calculation nodes. More...
 
class  ElementaryPoint
 
class  Executor
 Threaded Executor. More...
 
class  InterceptorInputPort
 
class  AnySplitOutputPort
 
class  SeqAnyInputPort
 
class  SplitterNode
 
class  FakeNodeForForEachLoop
 
class  ForEachLoopPassedData
 
class  ForEachLoop
 Loop node for parametric calculation. More...
 
class  ForkBlocPoint
 
class  ForLoop
 Class for for loop node. More...
 
class  HomogeneousPoolContainer
 
class  InGate
 
class  InlineNode
 Class for calculation node (script) inlined (and executed) in the schema. More...
 
class  InlineFuncNode
 Class for calculation node (function) inlined (and executed) in the schema. More...
 
class  InPort
 
class  InPropertyPort
 class for Input Property Ports More...
 
class  InputDataStreamPort
 
class  InputPort
 Base class for Input Ports. More...
 
class  ProxyPort
 Base class for Proxy Input Ports. More...
 
class  InvalidExtractionException
 
class  LinkedBlocPoint
 
class  LinkInfo
 Class that deal with list of semantics links for high level analysis. More...
 
class  Logger
 Class for logging error messages. More...
 
class  LogRecord
 Class for logging record. More...
 
class  InputPort4DF2DS
 
class  DFToDSForLoop
 
class  OutputPort4DS2DF
 
class  InputDataStreamPort4DS2DF
 
class  DSToDFForLoop
 
class  FakeNodeForLoop
 
class  Loop
 Base class for loop node. More...
 
struct  ProgressWeight
 
class  NodeStateNameMap
 
class  Node
 Base class for all nodes. More...
 
class  OptimizerAlgBase
 Base class factorizing common methods for all algorithms interfaces. More...
 
class  OptimizerAlgASync
 Base class to implement in external dynamic lib in case of optimizer non event oriented. More...
 
class  FakeNodeForOptimizerLoop
 
class  OptimizerLoop
 class to build optimization loops More...
 
class  OutGate
 
class  OutPort
 
class  OutputDataStreamPort
 
class  OutputPort
 
class  PluginSimplex
 
class  Pool
 Pool used to manage the samples of the optimizer loop plugin. More...
 
class  Port
 Base class for all ports. More...
 
class  Proc
 Base class for all schema objects. More...
 
class  PropertyInterface
 Class for adding property interface to another class. More...
 
class  RefCounter
 
class  Runtime
 
class  Scheduler
 
class  ServerNode
 
class  ServiceInlineNode
 
class  ServiceNode
 Class for calculation node associated with a component service. More...
 
class  SetOfPoints
 
class  StaticDefinedComposedNode
 
class  CollectorSwOutPort
 
class  FakeNodeForSwitch
 
class  Switch
 Control node that emulates the C switch. More...
 
class  Task
 
class  TypeCode
 Base class for all type objects. More...
 
class  TypeCodeComposed
 
class  TypeCodeObjref
 Class for reference objects. More...
 
class  TypeCodeSeq
 Class for sequence objects. More...
 
class  TypeCodeArray
 Class for array objects. More...
 
class  TypeCodeStruct
 Class for struct type. More...
 
class  Visitor
 
struct  DataLinkInfo
 
struct  StreamLinkInfo
 
class  VisitorSaveSchema
 Base class for all visitors that save a schema. More...
 
class  SchemaSave
 
class  VisitorSaveState
 
class  WhileLoop
 Class for a while loop. More...
 
class  AutoGIL
 
class  AutoPyRef
 
class  InputCalStreamPort
 Class for Input Calcium DataStream Ports. More...
 
class  OutputCalStreamPort
 Class for Output Calcium DataStream Ports. More...
 
class  CORBAComponent
 Class for CORBA component instance. More...
 
class  CorbaCorba
 Class for conversion from CORBA Output port to CORBA Input port. More...
 
class  CorbaCpp
 
class  CorbaNeutral
 
class  CORBANode
 Class for CORBA Service Node. More...
 
class  SalomeNode
 Class for Salome component Service Node. More...
 
class  InputCorbaPort
 Class for CORBA Input Ports. More...
 
class  OutputCorbaPort
 
class  CorbaPyDouble
 Class for conversion from CORBA Output port to Python Input port. More...
 
class  CorbaPyInt
 Class for conversion from CORBA Output port to Python Input port. More...
 
class  CorbaPyString
 Class for conversion from CORBA Output port to Python Input port. More...
 
class  CorbaPyBool
 Class for conversion from CORBA Output port to Python Input port. More...
 
class  CorbaPyObjref
 Class for conversion from CORBA Output port to Python Input port. More...
 
class  CorbaPySequence
 Class for conversion from CORBA Output port to Python Input port. More...
 
class  CorbaPyStruct
 Class for conversion of struct objects from CORBA Output port to Python Input port. More...
 
class  CorbaXml
 
struct  returnInfo
 
class  CppComponent
 
struct  LocalLibrary
 
class  LocalContainer
 
class  CppContainer
 
class  CppCorba
 
class  CppCpp
 Class for conversion from C++ Output port to C++ Input port. More...
 
class  CppNeutral
 
class  CppNode
 Class for C++ Nodes (in process component) More...
 
class  InputCppPort
 Class for C++ Ports. More...
 
class  OutputCppPort
 
class  CppPy
 
class  CppXml
 
class  DistributedPythonNode
 
class  NeutralCorbaInt
 
class  NeutralCorbaDouble
 
class  NeutralCorbaBool
 
class  NeutralCorbaSequence
 
class  NeutralCorbaString
 
class  NeutralCorbaObjref
 
class  NeutralCorbaStruct
 
class  NeutralCpp
 Class for conversion from Neutral Output port to Xml Input port. More...
 
class  NeutralInit
 Class for initialization of a Neutral port with YACS::ENGINE::Any* object. More...
 
class  NeutralPyDouble
 
class  NeutralPyInt
 
class  NeutralPyString
 
class  NeutralPyBool
 
class  NeutralPyObjref
 
class  NeutralPySequence
 
class  NeutralPyStruct
 
class  NeutralXml
 Class for conversion from Neutral Output port to XML Input port. More...
 
class  OutNode
 Class for data out node. More...
 
class  PresetNode
 Class for data in node. More...
 
class  OutputPresetPort
 Class for PRESET output Ports. More...
 
class  InputPresetPort
 Class for PRESET input Ports. More...
 
class  PyOptimizerAlgBase
 Base class factorizing common methods for python algorithms interfaces. More...
 
class  PyOptimizerAlgASync
 Base class to implement in external dynamic lib or external python module in case of a non event oriented optimizer using Python code. More...
 
struct  PyStdOut
 
class  PyCorbaInt
 
class  PyCorbaDouble
 
class  PyCorbaString
 
class  PyCorbaBool
 
class  PyCorbaObjref
 
class  PyCorbaSequence
 
class  PyCorbaStruct
 
class  PyCpp
 
class  PyInit
 
class  PyNeutral
 
class  PythonEntry
 
class  PythonNode
 
class  PyFuncNode
 
class  InterpreterUnlocker
 
class  InterpreterSaveThread
 
class  InputPyPort
 Class for Python Ports. More...
 
class  OutputPyPort
 
class  PyXml
 
class  RuntimeSALOME
 
class  SalomeComponent
 Class for Salome component instance. More...
 
class  SalomeContainer
 
class  SalomeContainerHelper
 
class  SalomeContainerMonoHelper
 
class  SalomeContainerMultiHelper
 
class  SalomeContainerTmpForHP
 
class  SalomeContainerTools
 
class  SALOMEDispatcher
 
class  SalomeHPComponent
 
class  SalomeHPContainer
 
class  SalomeHPContainerVectOfHelper
 
class  SalomeOptimizerLoop
 class to build optimization loops More...
 
class  SalomeProc
 
class  SalomePythonComponent
 
class  SalomePythonNode
 
class  SessionCataLoader
 
class  StudyInNode
 
class  StudyOutNode
 
class  OutputStudyPort
 Class for Study output Ports. More...
 
class  InputStudyPort
 Class for Study input Ports. More...
 
struct  isAdaptableDouble
 
struct  isAdaptableInt
 
struct  isAdaptableString
 
struct  isAdaptableBool
 
struct  isAdaptableObjref
 
struct  isAdaptableSequence
 
struct  isAdaptableArray
 
struct  isAdaptableStruct
 
struct  convertToYacsDouble
 Basic template convertor from type TIN to Yacs<TOUT> type. More...
 
struct  convertToYacsInt
 
struct  convertToYacsString
 
struct  convertToYacsBool
 
struct  convertToYacsObjref
 
struct  convertToYacsSequence
 
struct  convertToYacsArray
 
struct  convertToYacsStruct
 
struct  convertFromYacsDouble
 Basic convertor from Yacs<TOUT> type to full TOUT type. More...
 
struct  convertFromYacsInt
 
struct  convertFromYacsString
 
struct  convertFromYacsBool
 
struct  convertFromYacsObjref
 
struct  convertFromYacsSequence
 
struct  convertFromYacsArray
 
struct  convertFromYacsStruct
 
struct  convertToYacsDouble< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 ToYacs Convertor for PYTHONImpl. More...
 
struct  convertToYacsInt< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsString< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsBool< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsObjref< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsSequence< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsStruct< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >
 
struct  convertFromYacsDouble< PYTHONImpl, PyObject * >
 FromYacs Convertor for PYTHONImpl. More...
 
struct  convertFromYacsInt< PYTHONImpl, PyObject * >
 
struct  convertFromYacsString< PYTHONImpl, PyObject * >
 
struct  convertFromYacsBool< PYTHONImpl, PyObject * >
 
struct  convertFromYacsObjref< PYTHONImpl, PyObject * >
 
struct  convertFromYacsSequence< PYTHONImpl, PyObject * >
 
struct  convertFromYacsStruct< PYTHONImpl, PyObject * >
 
struct  convertToYacsDouble< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 ToYacs Convertor for XMLImpl. More...
 
struct  convertToYacsInt< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  convertToYacsString< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  convertToYacsBool< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  convertToYacsObjref< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  convertToYacsSequence< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  convertToYacsStruct< XMLImpl, xmlDocPtr, xmlNodePtr, IMPLOUT, TOUT >
 
struct  convertFromYacsDouble< XMLImpl, std::string >
 FromYacs Convertor for XMLImpl. More...
 
struct  convertFromYacsInt< XMLImpl, std::string >
 
struct  convertFromYacsString< XMLImpl, std::string >
 
struct  convertFromYacsBool< XMLImpl, std::string >
 
struct  convertFromYacsObjref< XMLImpl, std::string >
 
struct  convertFromYacsSequence< XMLImpl, std::string >
 
struct  convertFromYacsStruct< XMLImpl, std::string >
 
struct  convertToYacsDouble< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 ToYacs Convertor for NEUTRALImpl. More...
 
struct  convertToYacsInt< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsString< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsBool< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsObjref< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsSequence< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsStruct< NEUTRALImpl, YACS::ENGINE::Any *, void *, IMPLOUT, TOUT >
 
struct  convertFromYacsDouble< NEUTRALImpl, YACS::ENGINE::Any * >
 FromYacs Convertor for NEUTRALImpl. More...
 
struct  convertFromYacsInt< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  convertFromYacsString< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  convertFromYacsBool< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  convertFromYacsObjref< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  convertFromYacsSequence< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  convertFromYacsStruct< NEUTRALImpl, YACS::ENGINE::Any * >
 
struct  convertToYacsDouble< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 ToYacs Convertor for CORBAImpl. More...
 
struct  convertToYacsInt< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsString< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsBool< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsObjref< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsSequence< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  convertToYacsStruct< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >
 
struct  convertFromYacsDouble< CORBAImpl, CORBA::Any * >
 FromYacs Convertor for CORBAImpl. More...
 
struct  convertFromYacsInt< CORBAImpl, CORBA::Any * >
 
struct  convertFromYacsString< CORBAImpl, CORBA::Any * >
 
struct  convertFromYacsBool< CORBAImpl, CORBA::Any * >
 
struct  convertFromYacsObjref< CORBAImpl, CORBA::Any * >
 
struct  convertFromYacsSequence< CORBAImpl, CORBA::Any * >
 
struct  convertFromYacsStruct< CORBAImpl, CORBA::Any * >
 
struct  convertToYacsDouble< CPPImpl, void *, const TypeCode *, IMPLOUT, TOUT >
 ToYacs Convertor for CPPImpl. More...
 
struct  convertToYacsInt< CPPImpl, void *, const TypeCode *, IMPLOUT, TOUT >
 
class  VisitorSalomeSaveState
 
class  VisitorSaveSalomeSchema
 
class  XmlCorba
 
class  XmlCpp
 
class  XmlNeutral
 
class  XmlNode
 
class  InputXmlPort
 Class for XML Input Ports. More...
 
class  OutputXmlPort
 Class for XML Output Ports. More...
 
class  XmlPython
 
class  stateLoader
 class for parse an xml file, use a dedicated parser, to load a saved state of a SALOME execution. More...
 
class  stateParser
 specialized parser to load SALOME execution saved states. More...
 
class  graphParser
 
class  nodeParser
 
class  attrParser
 
class  portParser
 
class  valueParser
 
class  arrayParser
 
class  dataParser
 
class  simpleTypeParser
 
class  loopPortParser
 
class  sampleParser
 
class  ProcCataLoader
 

Typedefs

typedef void(* Deallocator )(void *)
 
typedef SharedPtr< AnyAnyPtr
 
typedef SharedPtr< AtomAnyAtomAnyPtr
 
typedef SharedPtr< SequenceAnySequenceAnyPtr
 
typedef SharedPtr< ArrayAnyArrayAnyPtr
 
typedef SharedPtr< StructAnyStructAnyPtr
 
typedef OptimizerAlgBase OptimizerAlgSync
 
typedef OptimizerAlgBase *(* OptimizerAlgBaseFactory )(Pool *pool)
 
typedef void *(* InitFunction )()
 
typedef void(* RunFunction )(void *, const char *, int, int, Any **, Any **, returnInfo *)
 
typedef void(* TerminateFunction )(void **)
 
typedef void(* PingFunction )()
 
typedef void(* MYRUN )(int nbin, int nbout, YACS::ENGINE::Any **in, YACS::ENGINE::Any **out)
 
typedef PyOptimizerAlgBase PyOptimizerAlgSync
 
typedef PyObject PyObj
 
typedef CORBA::TypeCode_ptr(* getCorbaTCFn )(const TypeCode *)
 

Enumerations

enum  TypeOfChannel { DATAFLOW, DATASTREAM }
 
enum  InfoReason {
  I_CF_USELESS = 41, I_USELESS = 42, I_BACK = 43, I_BACK_USELESS = 44,
  I_BACK_CRAZY = 45, I_DFDS = 46, I_ALL = 49
}
 
enum  WarnReason {
  W_COLLAPSE = 141, W_COLLAPSE_AND_USELESS = 142, W_COLLAPSE_EL = 143, W_COLLAPSE_EL_AND_USELESS = 144,
  W_BACK_COLLAPSE = 145, W_BACK_COLLAPSE_AND_USELESS = 146, W_BACK_COLLAPSE_EL = 147, W_BACK_COLLAPSE_EL_AND_USELESS = 148,
  W_ALL = 149
}
 
enum  ErrReason {
  E_NEVER_SET_INPUTPORT = 241, E_ONLY_BACKWARD_DEFINED = 242, E_DS_LINK_UNESTABLISHABLE = 243, E_COLLAPSE_DFDS = 244,
  E_COLLAPSE_DS = 245, E_UNPREDICTABLE_FED = 246, E_UNCOMPLETE_SW =247, E_ALL = 249
}
 
enum  DynType {
  NONE = 0, Double = 1, Int = 2, String = 3,
  Bool = 4, Objref = 5, Sequence = 6, Array = 7,
  Struct = 8
}
 
enum  ImplType {
  CORBAImpl = 1, PYTHONImpl = 2, NEUTRALImpl = 3, XMLImpl = 4,
  CPPImpl = 5
}
 
enum  XMLReadState {
  XMLNOCONTEXT = 0, XMLINGRAPH = 1, XMLINNODE = 2, XMLINPORT = 3,
  XMLINVALUE = 4, XMLDONE = 5, XMLFATALERROR = 6
}
 

Functions

void YACSLIBENGINE_EXPORT NbDoneLoader (Loop *node, int val)
 
void YACSLIBENGINE_EXPORT StateLoader (Node *node, YACS::StatesForNode state)
 
YACSLIBENGINE_EXPORT RuntimegetRuntime () throw (Exception)
 
AnyconvertCorbaCpp (const TypeCode *t, CORBA::Any *A)
 
int isAdaptableCppCorba (const TypeCode *t1, const TypeCode *t2)
 
ostream & operator<< (ostream &os, const OutputCorbaPort &p)
 
YACSRUNTIMESALOME_EXPORT
std::ostream & 
operator<< (std::ostream &os, const YACS::ENGINE::OutputCorbaPort &p)
 
CORBA::Any * convertCppCorba (const TypeCode *t, Any *data)
 
int isAdaptableCorbaCpp (const TypeCode *t1, const TypeCode *t2)
 
AnyconvertCppCpp (const TypeCode *t, Any *data)
 
int isAdaptableCppCpp (const TypeCode *t1, const TypeCode *t2)
 
AnyconvertCppNeutral (const TypeCode *t, Any *a)
 
int isAdaptableNeutralCpp (const TypeCode *t1, const TypeCode *t2)
 
PyObject * convertCppPyObject (const TypeCode *t, Any *a)
 
int isAdaptablePyObjectCpp (const TypeCode *t1, const TypeCode *t2)
 
std::string convertCppXml (const TypeCode *t, void *ob)
 
int isAdaptableXmlCpp (const TypeCode *t1, const TypeCode *t2)
 
AnyconvertNeutralCpp (const TypeCode *t, Any *data)
 
int isAdaptableCppNeutral (const TypeCode *t1, const TypeCode *t2)
 
static void PyStdOut_dealloc (PyStdOut *self)
 
static PyObject * PyStdOut_write (PyStdOut *self, PyObject *args)
 
PyObject * newPyStdOut (std::string &out)
 
PyObject * evalPy (const std::string &funcName, const std::string &strToEval)
 
PyObject * evalFuncPyWithNoParams (PyObject *func)
 
AnyconvertPyObjectCpp (const TypeCode *t, PyObject *data)
 
int isAdaptableCppPyObject (const TypeCode *t1, const TypeCode *t2)
 
YACSRUNTIMESALOME_EXPORT
RuntimeSALOME
getSALOMERuntime ()
 
SALOMEDS::SObject_ptr findOrCreateSoWithName (SALOMEDS::Study_ptr study, SALOMEDS::StudyBuilder_ptr builder, SALOMEDS::SObject_ptr sobj, const std::string &name)
 
void printbin (const std::string &bin)
 
std::string getImplName (ImplType impl)
 
CORBA::TypeCode_ptr getCorbaTCNull (const TypeCode *t)
 
CORBA::TypeCode_ptr getCorbaTCDouble (const TypeCode *t)
 
CORBA::TypeCode_ptr getCorbaTCInt (const TypeCode *t)
 
CORBA::TypeCode_ptr getCorbaTCString (const TypeCode *t)
 
CORBA::TypeCode_ptr getCorbaTCBool (const TypeCode *t)
 
CORBA::TypeCode_ptr getCorbaTCObjref (const TypeCode *t)
 
CORBA::TypeCode_ptr getCorbaTCSequence (const TypeCode *t)
 
CORBA::TypeCode_ptr getCorbaTCStruct (const TypeCode *t)
 
CORBA::TypeCode_ptr getCorbaTC (const TypeCode *t)
 
template<ImplType IMPLIN, ImplType IMPLOUT>
int isAdaptable (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableCorbaPyObject (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableNeutralPyObject (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptablePyObjectPyObject (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableCorbaNeutral (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptablePyObjectNeutral (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableXmlNeutral (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableNeutralNeutral (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableNeutralXml (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableNeutralCorba (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableXmlCorba (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptableCorbaCorba (const TypeCode *t1, const TypeCode *t2)
 
int isAdaptablePyObjectCorba (const TypeCode *t1, const TypeCode *t2)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT convertDouble (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT convertInt (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT convertString (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT convertBool (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT convertObjref (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT convertSequence (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT convertArray (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT convertStruct (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YacsConvertor (const TypeCode *t, TIN o, TIN2 aux)
 
template<>
CORBA::Any * convertDouble< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * convertInt< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * convertString< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * convertBool< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * convertObjref< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
template<>
CORBA::Any * convertStruct< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > (const TypeCode *t, CORBA::Any *o, void *aux)
 
std::string convertPyObjectXml (const TypeCode *t, PyObject *data)
 
YACS::ENGINE::AnyconvertPyObjectNeutral (const TypeCode *t, PyObject *data)
 
CORBA::Any * convertPyObjectCorba (const TypeCode *t, PyObject *data)
 
PyObject * convertPyObjectPyObject (const TypeCode *t, PyObject *data)
 
std::string convertPyObjectToString (PyObject *ob)
 
PyObject * convertXmlPyObject (const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)
 
YACS::ENGINE::AnyconvertXmlNeutral (const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)
 
CORBA::Any * convertXmlCorba (const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)
 
PyObject * convertXmlStrPyObject (const TypeCode *t, std::string data)
 
PyObject * convertNeutralPyObject (const TypeCode *t, YACS::ENGINE::Any *data)
 
std::string convertNeutralXml (const TypeCode *t, YACS::ENGINE::Any *data)
 
CORBA::Any * convertNeutralCorba (const TypeCode *t, YACS::ENGINE::Any *data)
 
YACS::ENGINE::AnyconvertNeutralNeutral (const TypeCode *t, YACS::ENGINE::Any *data)
 
PyObject * convertCorbaPyObject (const TypeCode *t, CORBA::Any *data)
 
std::string convertCorbaXml (const TypeCode *t, CORBA::Any *data)
 
YACS::ENGINE::AnyconvertCorbaNeutral (const TypeCode *t, CORBA::Any *data)
 
CORBA::Any * convertCorbaCorba (const TypeCode *t, CORBA::Any *data)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool checkDouble (const TypeCode *t, TIN o, TIN2 aux)
 Basic template checker from type TIN. More...
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool checkInt (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool checkBool (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool checkString (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool checkObjref (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool checkSequence (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool checkStruct (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool checkArray (const TypeCode *t, TIN o, TIN2 aux)
 
template<ImplType IMPLIN, class TIN , class TIN2 >
bool YacsChecker (const TypeCode *t, TIN o, TIN2 aux)
 
template<>
bool checkDouble< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool checkInt< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool checkBool< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool checkString< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool checkObjref< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool checkSequence< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
template<>
bool checkStruct< PYTHONImpl, PyObject *, void * > (const TypeCode *t, PyObject *o, void *aux)
 
bool checkPyObject (const TypeCode *t, PyObject *ob)
 
YACSLIBENGINE_EXPORT void schemaSaveState (Proc *proc, Executor *exec, const std::string &xmlSchemaFile)
 
AnyconvertXmlCpp (const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)
 
int isAdaptableCppXml (const TypeCode *t1, const TypeCode *t2)
 
YACSLOADER_EXPORT void loadState (YACS::ENGINE::Proc *p, const std::string &xmlStateFile)
 Load state from a file into a Proc. More...
 

Variables

static PyMethodDef PyStdOut_methods []
 
static PyMemberDef PyStdOut_memberlist []
 
static PyTypeObject PyStdOut_Type
 
getCorbaTCFn getCorbaTCFns []
 

Typedef Documentation

Definition at line 63 of file Any.hxx.

Definition at line 234 of file Any.hxx.

Definition at line 100 of file Any.hxx.

typedef void(* YACS::ENGINE::Deallocator)(void *)

Definition at line 43 of file Any.hxx.

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

Definition at line 100 of file TypeConversions.cxx.

typedef void*(* YACS::ENGINE::InitFunction)()

Definition at line 39 of file CppComponent.hxx.

typedef void(* YACS::ENGINE::MYRUN)(int nbin, int nbout, YACS::ENGINE::Any **in, YACS::ENGINE::Any **out)

Definition at line 36 of file CppNode.hxx.

typedef OptimizerAlgBase*(* YACS::ENGINE::OptimizerAlgBaseFactory)(Pool *pool)

Definition at line 122 of file OptimizerAlg.hxx.

typedef void(* YACS::ENGINE::PingFunction)()

Definition at line 42 of file CppComponent.hxx.

typedef PyObject YACS::ENGINE::PyObj

Definition at line 65 of file PythonPorts.hxx.

typedef void(* YACS::ENGINE::RunFunction)(void *, const char *, int, int, Any **, Any **, returnInfo *)

Definition at line 40 of file CppComponent.hxx.

Definition at line 188 of file Any.hxx.

Definition at line 271 of file Any.hxx.

typedef void(* YACS::ENGINE::TerminateFunction)(void **)

Definition at line 41 of file CppComponent.hxx.

Enumeration Type Documentation

Enumerator
NONE 
Double 
Int 
String 
Bool 
Objref 
Sequence 
Array 
Struct 

Definition at line 37 of file TypeCode.hxx.

38  {
39  NONE = 0,
40  Double = 1,
41  Int = 2,
42  String = 3,
43  Bool = 4,
44  Objref = 5,
45  Sequence = 6,
46  Array = 7,
47  Struct = 8
48  } DynType;
Enumerator
E_NEVER_SET_INPUTPORT 
E_ONLY_BACKWARD_DEFINED 
E_DS_LINK_UNESTABLISHABLE 
E_COLLAPSE_DFDS 
E_COLLAPSE_DS 
E_UNPREDICTABLE_FED 
E_UNCOMPLETE_SW 
E_ALL 

Definition at line 67 of file LinkInfo.hxx.

68  {
72  E_COLLAPSE_DFDS = 244,
73  E_COLLAPSE_DS = 245,
74  E_UNPREDICTABLE_FED = 246,
75  E_UNCOMPLETE_SW =247,
76  E_ALL = 249
77  } ErrReason;
Enumerator
CORBAImpl 
PYTHONImpl 
NEUTRALImpl 
XMLImpl 
CPPImpl 

Definition at line 35 of file TypeConversions.hxx.

36  {
37  CORBAImpl = 1,
38  PYTHONImpl = 2,
39  NEUTRALImpl = 3,
40  XMLImpl = 4,
41  CPPImpl = 5,
42  } ImplType;
Enumerator
I_CF_USELESS 
I_USELESS 
I_BACK 
I_BACK_USELESS 
I_BACK_CRAZY 
I_DFDS 
I_ALL 

Definition at line 43 of file LinkInfo.hxx.

44  {
45  I_CF_USELESS = 41,
46  I_USELESS = 42,
47  I_BACK = 43,//In loop context
48  I_BACK_USELESS = 44,//In loop context - Not implemented yet
49  I_BACK_CRAZY = 45,//Out of loop context
50  I_DFDS = 46,
51  I_ALL = 49,
52  } InfoReason;
Enumerator
DATAFLOW 
DATASTREAM 

Definition at line 35 of file DataPort.hxx.

36  {
37  DATAFLOW,
39  } TypeOfChannel;
Enumerator
W_COLLAPSE 
W_COLLAPSE_AND_USELESS 
W_COLLAPSE_EL 
W_COLLAPSE_EL_AND_USELESS 
W_BACK_COLLAPSE 
W_BACK_COLLAPSE_AND_USELESS 
W_BACK_COLLAPSE_EL 
W_BACK_COLLAPSE_EL_AND_USELESS 
W_ALL 

Definition at line 54 of file LinkInfo.hxx.

55  {
56  W_COLLAPSE = 141,
58  W_COLLAPSE_EL = 143,
60  W_BACK_COLLAPSE = 145,
62  W_BACK_COLLAPSE_EL = 147,
64  W_ALL = 149
65  } WarnReason;
Enumerator
XMLNOCONTEXT 
XMLINGRAPH 
XMLINNODE 
XMLINPORT 
XMLINVALUE 
XMLDONE 
XMLFATALERROR 

Definition at line 64 of file LoadState.hxx.

65  {
66  XMLNOCONTEXT = 0,
67  XMLINGRAPH = 1,
68  XMLINNODE = 2,
69  XMLINPORT = 3,
70  XMLINVALUE = 4,
71  XMLDONE = 5,
72  XMLFATALERROR = 6
73  } XMLReadState;

Function Documentation

template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkArray ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inlinestatic

Definition at line 2453 of file TypeConversions.cxx.

2454  {
2455  stringstream msg;
2456  msg << "Check not implemented for Implementation: " << IMPLIN ;
2457  msg << " : " << __FILE__ << ":" << __LINE__;
2458  throw YACS::ENGINE::ConversionException(msg.str());
2459  }
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkBool ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inlinestatic

Definition at line 2413 of file TypeConversions.cxx.

2414  {
2415  stringstream msg;
2416  msg << "Check not implemented for Implementation: " << IMPLIN ;
2417  msg << " : " << __FILE__ << ":" << __LINE__;
2418  throw YACS::ENGINE::ConversionException(msg.str());
2419  }
template<>
bool YACS::ENGINE::checkBool< PYTHONImpl, PyObject *, void * > ( const TypeCode *  t,
PyObject *  o,
void *  aux 
)
inline

Definition at line 2520 of file TypeConversions.cxx.

2521  {
2522  if (PyBool_Check(o))
2523  return true;
2524  else if (PyInt_Check(o))
2525  return true;
2526  else if(PyLong_Check(o))
2527  return true;
2528  else
2529  {
2530  stringstream msg;
2531  msg << "Not a python boolean " ;
2532  throw YACS::ENGINE::ConversionException(msg.str());
2533  }
2534 
2535  }
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkDouble ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inlinestatic

Basic template checker from type TIN.

This checker does nothing : throws exception It must be partially specialize for a specific type (TIN)

Definition at line 2397 of file TypeConversions.cxx.

2398  {
2399  stringstream msg;
2400  msg << "Check not implemented for Implementation: " << IMPLIN ;
2401  msg << " : " << __FILE__ << ":" << __LINE__;
2402  throw YACS::ENGINE::ConversionException(msg.str());
2403  }
template<>
bool YACS::ENGINE::checkDouble< PYTHONImpl, PyObject *, void * > ( const TypeCode *  t,
PyObject *  o,
void *  aux 
)
inline

Definition at line 2492 of file TypeConversions.cxx.

2493  {
2494  if (PyFloat_Check(o))
2495  return true;
2496  else if (PyInt_Check(o))
2497  return true;
2498  else if(PyLong_Check(o))
2499  return true;
2500  else
2501  {
2502  stringstream msg;
2503  msg << "Not a python double ";
2504  throw YACS::ENGINE::ConversionException(msg.str());
2505  }
2506  }
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkInt ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inlinestatic

Definition at line 2405 of file TypeConversions.cxx.

2406  {
2407  stringstream msg;
2408  msg << "Check not implemented for Implementation: " << IMPLIN ;
2409  msg << " : " << __FILE__ << ":" << __LINE__;
2410  throw YACS::ENGINE::ConversionException(msg.str());
2411  }
template<>
bool YACS::ENGINE::checkInt< PYTHONImpl, PyObject *, void * > ( const TypeCode *  t,
PyObject *  o,
void *  aux 
)
inline

Definition at line 2508 of file TypeConversions.cxx.

2509  {
2510  if (PyInt_Check(o) || PyLong_Check(o))
2511  return true;
2512  else
2513  {
2514  stringstream msg;
2515  msg << "Not a python integer ";
2516  throw YACS::ENGINE::ConversionException(msg.str());
2517  }
2518  }
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkObjref ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inlinestatic

Definition at line 2429 of file TypeConversions.cxx.

2430  {
2431  stringstream msg;
2432  msg << "Check not implemented for Implementation: " << IMPLIN ;
2433  msg << " : " << __FILE__ << ":" << __LINE__;
2434  throw YACS::ENGINE::ConversionException(msg.str());
2435  }
template<>
bool YACS::ENGINE::checkObjref< PYTHONImpl, PyObject *, void * > ( const TypeCode *  t,
PyObject *  o,
void *  aux 
)
inline

Definition at line 2549 of file TypeConversions.cxx.

References gui.Appli::t.

2550  {
2551  if (PyString_Check(o))
2552  return true;
2553  if(strncmp(t->id(),"python",6)==0) // a Python object is expected (it's always true)
2554  return true;
2555  else if(strncmp(t->id(),"json",4)==0) // The python object must be json pickable
2556  {
2557  // The python object should be json compliant (to improve)
2558  return true;
2559  }
2560  else
2561  {
2562  // The python object should be a CORBA obj (to improve)
2563  return true;
2564  }
2565  }
YACSRUNTIMESALOME_EXPORT bool YACS::ENGINE::checkPyObject ( const TypeCode *  t,
PyObject *  ob 
)

Definition at line 2629 of file TypeConversions.cxx.

References gui.Appli::t.

Referenced by YACS::ENGINE::PyInit::put().

2630  {
2631  return YacsChecker<PYTHONImpl,PyObject*,void*>(t,ob,0);
2632  }
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkSequence ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inlinestatic

Definition at line 2437 of file TypeConversions.cxx.

2438  {
2439  stringstream msg;
2440  msg << "Check not implemented for Implementation: " << IMPLIN ;
2441  msg << " : " << __FILE__ << ":" << __LINE__;
2442  throw YACS::ENGINE::ConversionException(msg.str());
2443  }
template<>
bool YACS::ENGINE::checkSequence< PYTHONImpl, PyObject *, void * > ( const TypeCode *  t,
PyObject *  o,
void *  aux 
)
inline

Definition at line 2567 of file TypeConversions.cxx.

References CORBAEngineTest::i, gui.Appli::t, and YACS::Exception::what().

2568  {
2569  if(!PySequence_Check(o))
2570  {
2571  stringstream msg;
2572  msg << "python object is not a sequence " ;
2573  throw YACS::ENGINE::ConversionException(msg.str());
2574  }
2575  int length=PySequence_Size(o);
2576  for(int i=0;i<length;i++)
2577  {
2578  PyObject *item=PySequence_ITEM(o,i);
2579  try
2580  {
2581  YacsChecker<PYTHONImpl,PyObject*,void*>(t->contentType(),item,0);
2582  }
2583  catch(ConversionException& ex)
2584  {
2585  stringstream msg;
2586  msg << ex.what() << " for sequence element " << i;
2587  throw YACS::ENGINE::ConversionException(msg.str(),false);
2588  }
2589  Py_DECREF(item);
2590  }
2591  return true;
2592  }
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkString ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inlinestatic

Definition at line 2421 of file TypeConversions.cxx.

2422  {
2423  stringstream msg;
2424  msg << "Check not implemented for Implementation: " << IMPLIN ;
2425  msg << " : " << __FILE__ << ":" << __LINE__;
2426  throw YACS::ENGINE::ConversionException(msg.str());
2427  }
template<>
bool YACS::ENGINE::checkString< PYTHONImpl, PyObject *, void * > ( const TypeCode *  t,
PyObject *  o,
void *  aux 
)
inline

Definition at line 2537 of file TypeConversions.cxx.

2538  {
2539  if (PyString_Check(o))
2540  return true;
2541  else
2542  {
2543  stringstream msg;
2544  msg << "Not a python string " ;
2545  throw YACS::ENGINE::ConversionException(msg.str());
2546  }
2547  }
template<ImplType IMPLIN, class TIN , class TIN2 >
static bool YACS::ENGINE::checkStruct ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inlinestatic

Definition at line 2445 of file TypeConversions.cxx.

2446  {
2447  stringstream msg;
2448  msg << "Check not implemented for Implementation: " << IMPLIN ;
2449  msg << " : " << __FILE__ << ":" << __LINE__;
2450  throw YACS::ENGINE::ConversionException(msg.str());
2451  }
template<>
bool YACS::ENGINE::checkStruct< PYTHONImpl, PyObject *, void * > ( const TypeCode *  t,
PyObject *  o,
void *  aux 
)
inline

Definition at line 2594 of file TypeConversions.cxx.

References CORBAEngineTest::i, YACS::ENGINE::TypeCodeStruct::memberCount(), YACS::ENGINE::TypeCodeStruct::memberName(), YACS::ENGINE::TypeCodeStruct::memberType(), gui.Appli::t, and YACS::Exception::what().

2595  {
2596  PyObject *value;
2597  if(!PyDict_Check(o))
2598  {
2599  stringstream msg;
2600  msg << "python object is not a dict " ;
2601  throw YACS::ENGINE::ConversionException(msg.str());
2602  }
2604  int nMember=tst->memberCount();
2605  for(int i=0;i<nMember;i++)
2606  {
2607  std::string name=tst->memberName(i);
2608  TypeCode* tm=tst->memberType(i);
2609  value=PyDict_GetItemString(o, name.c_str());
2610  if(value==NULL)
2611  {
2612  stringstream msg;
2613  msg << "member " << name << " not present " ;
2614  throw YACS::ENGINE::ConversionException(msg.str());
2615  }
2616  try
2617  {
2618  YacsChecker<PYTHONImpl,PyObject*,void*>(tm,value,0);
2619  }
2620  catch(ConversionException& ex)
2621  {
2622  std::string s=" for struct member "+name;
2623  throw YACS::ENGINE::ConversionException(ex.what()+s,false);
2624  }
2625  }
2626  return true;
2627  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertArray ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 638 of file TypeConversions.cxx.

639  {
640  std::vector<TOUT> v;
641  convertToYacsArray<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>::convert(t,o,aux,v);
642  TOUT r=convertFromYacsArray<IMPLOUT,TOUT>::convert(t,v);
643  return r;
644  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertBool ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 610 of file TypeConversions.cxx.

References DEBTRACE.

611  {
612  double d=convertToYacsBool<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>::convert(t,o,aux);
613  DEBTRACE( d );
614  TOUT r=convertFromYacsBool<IMPLOUT,TOUT>::convert(t,d);
615  return r;
616  }
template<>
CORBA::Any* YACS::ENGINE::convertBool< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > ( const TypeCode *  t,
CORBA::Any *  o,
void *  aux 
)
inline

Definition at line 2214 of file TypeConversions.cxx.

2215  {
2216  return o;
2217  }
YACSRUNTIMESALOME_EXPORT CORBA::Any * YACS::ENGINE::convertCorbaCorba ( const TypeCode *  t,
CORBA::Any *  data 
)

Definition at line 2386 of file TypeConversions.cxx.

References gui.Appli::t.

Referenced by YACS::ENGINE::CorbaCorba::put().

2387  {
2388  return YacsConvertor<CORBAImpl,CORBA::Any*,void*,CORBAImpl,CORBA::Any*>(t,data,0);
2389  }
Any* YACS::ENGINE::convertCorbaCpp ( const TypeCode *  t,
CORBA::Any *  A 
)

Definition at line 34 of file CORBACppConv.cxx.

References convertCorbaNeutral().

Referenced by YACS::ENGINE::CorbaCpp::put().

35  {
36  return convertCorbaNeutral(t, A);
37  }
YACSRUNTIMESALOME_EXPORT YACS::ENGINE::Any * YACS::ENGINE::convertCorbaNeutral ( const TypeCode *  t,
CORBA::Any *  data 
)

Definition at line 2382 of file TypeConversions.cxx.

References gui.Appli::t.

Referenced by convertCorbaCpp(), and YACS::ENGINE::CorbaNeutral::put().

2383  {
2384  return YacsConvertor<CORBAImpl,CORBA::Any*,void*,NEUTRALImpl,YACS::ENGINE::Any*>(t,data,0);
2385  }
YACSRUNTIMESALOME_EXPORT PyObject * YACS::ENGINE::convertCorbaPyObject ( const TypeCode *  t,
CORBA::Any *  data 
)
YACSRUNTIMESALOME_EXPORT std::string YACS::ENGINE::convertCorbaXml ( const TypeCode *  t,
CORBA::Any *  data 
)

Definition at line 2378 of file TypeConversions.cxx.

References gui.Appli::t.

Referenced by YACS::ENGINE::InputCorbaPort::dump(), YACS::ENGINE::OutputCorbaPort::dump(), and YACS::ENGINE::CorbaXml::put().

2379  {
2380  return YacsConvertor<CORBAImpl,CORBA::Any*,void*,XMLImpl,std::string>(t,data,0);
2381  }
CORBA::Any* YACS::ENGINE::convertCppCorba ( const TypeCode *  t,
Any *  data 
)

Definition at line 33 of file CppCORBAConv.cxx.

References convertNeutralCorba().

Referenced by YACS::ENGINE::CppCorba::put().

34  {
35  return convertNeutralCorba(t, data);
36  }
Any* YACS::ENGINE::convertCppCpp ( const TypeCode *  t,
Any *  data 
)

Definition at line 35 of file CppCppConv.cxx.

References convertNeutralNeutral().

Referenced by YACS::ENGINE::CppCpp::put().

36  {
37  return convertNeutralNeutral(t, data);
38  }
Any* YACS::ENGINE::convertCppNeutral ( const TypeCode *  t,
Any *  a 
)

Definition at line 36 of file CppNeutralConv.cxx.

References convertNeutralNeutral().

Referenced by YACS::ENGINE::CppNeutral::put().

37  {
38  return convertNeutralNeutral(t, a);
39  }
PyObject* YACS::ENGINE::convertCppPyObject ( const TypeCode *  t,
Any *  a 
)

Definition at line 35 of file CppPythonConv.cxx.

References convertNeutralPyObject().

Referenced by YACS::ENGINE::CppPy::put().

36  {
37  return convertNeutralPyObject(t, (Any *) a);
38  }
std::string YACS::ENGINE::convertCppXml ( const TypeCode *  t,
void *  ob 
)

Definition at line 34 of file CppXMLConv.cxx.

References convertNeutralXml().

Referenced by YACS::ENGINE::CppXml::put().

35  {
36  return convertNeutralXml(t, (Any *) ob);
37  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertDouble ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 586 of file TypeConversions.cxx.

References DEBTRACE.

587  {
588  double d=convertToYacsDouble<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>::convert(t,o,aux);
589  DEBTRACE( d );
590  TOUT r=convertFromYacsDouble<IMPLOUT,TOUT>::convert(t,d);
591  return r;
592  }
template<>
CORBA::Any* YACS::ENGINE::convertDouble< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > ( const TypeCode *  t,
CORBA::Any *  o,
void *  aux 
)
inline

Definition at line 2183 of file TypeConversions.cxx.

References Double.

2184  {
2185  CORBA::TypeCode_var tc = o->type();
2186  if (tc->equivalent(CORBA::_tc_double))
2187  {
2188  return o;
2189  }
2190  if (tc->equivalent(CORBA::_tc_long))
2191  {
2192  CORBA::Long d;
2193  *o >>= d;
2194  CORBA::Any *any = new CORBA::Any();
2195  *any <<= (CORBA::Double)d;
2196  return any;
2197  }
2198  stringstream msg;
2199  msg << "Not a double or long corba type " << tc->kind();
2200  msg << " : " << __FILE__ << ":" << __LINE__;
2201  throw YACS::ENGINE::ConversionException(msg.str());
2202  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertInt ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 594 of file TypeConversions.cxx.

References DEBTRACE.

595  {
596  long d=convertToYacsInt<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>::convert(t,o,aux);
597  DEBTRACE( d );
598  TOUT r=convertFromYacsInt<IMPLOUT,TOUT>::convert(t,d);
599  return r;
600  }
template<>
CORBA::Any* YACS::ENGINE::convertInt< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > ( const TypeCode *  t,
CORBA::Any *  o,
void *  aux 
)
inline

Definition at line 2204 of file TypeConversions.cxx.

2205  {
2206  return o;
2207  }
YACSRUNTIMESALOME_EXPORT CORBA::Any * YACS::ENGINE::convertNeutralCorba ( const TypeCode *  t,
YACS::ENGINE::Any data 
)
Any* YACS::ENGINE::convertNeutralCpp ( const TypeCode *  t,
Any *  data 
)

Definition at line 35 of file NeutralCppConv.cxx.

References convertNeutralNeutral().

Referenced by YACS::ENGINE::NeutralCpp::put().

36  {
37  return convertNeutralNeutral(t, data);
38  }
YACSRUNTIMESALOME_EXPORT YACS::ENGINE::Any * YACS::ENGINE::convertNeutralNeutral ( const TypeCode *  t,
YACS::ENGINE::Any data 
)

Definition at line 2367 of file TypeConversions.cxx.

References YACS::ENGINE::RefCounter::incrRef().

Referenced by convertCppCpp(), convertCppNeutral(), and convertNeutralCpp().

2368  {
2369  data->incrRef();
2370  return data;
2371  }
YACSRUNTIMESALOME_EXPORT std::string YACS::ENGINE::convertNeutralXml ( const TypeCode *  t,
YACS::ENGINE::Any data 
)

Definition at line 2359 of file TypeConversions.cxx.

References gui.Appli::t.

Referenced by convertCppXml(), YACS::ENGINE::InputCppPort::dump(), YACS::ENGINE::OutputCppPort::dump(), YACS::ENGINE::NeutralXml::put(), and YACS::ENGINE::VisitorSalomeSaveState::visitForEachLoop().

2360  {
2361  return YacsConvertor<NEUTRALImpl,YACS::ENGINE::Any*,void*,XMLImpl,std::string>(t,data,0);
2362  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertObjref ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 618 of file TypeConversions.cxx.

References DEBTRACE, NEUTRALImpl, and XMLImpl.

619  {
620  int protocol=-1;
621  if(IMPLOUT==XMLImpl || IMPLOUT==NEUTRALImpl)
622  protocol=0;
623  std::string d=convertToYacsObjref<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>::convert(t,o,aux,protocol);
624  DEBTRACE( d );
625  TOUT r=convertFromYacsObjref<IMPLOUT,TOUT>::convert(t,d);
626  return r;
627  }
template<>
CORBA::Any* YACS::ENGINE::convertObjref< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > ( const TypeCode *  t,
CORBA::Any *  o,
void *  aux 
)
inline

Definition at line 2219 of file TypeConversions.cxx.

2220  {
2221  return o;
2222  }
YACSRUNTIMESALOME_EXPORT CORBA::Any * YACS::ENGINE::convertPyObjectCorba ( const TypeCode *  t,
PyObject *  data 
)

Definition at line 2280 of file TypeConversions.cxx.

References gui.Appli::t.

Referenced by YACS::ENGINE::PyCorbaInt::put(), YACS::ENGINE::PyCorbaDouble::put(), YACS::ENGINE::PyCorbaString::put(), YACS::ENGINE::PyCorbaBool::put(), YACS::ENGINE::PyCorbaObjref::put(), YACS::ENGINE::PyCorbaSequence::put(), and YACS::ENGINE::PyCorbaStruct::put().

2281  {
2282  return YacsConvertor<PYTHONImpl,PyObject*,void*,CORBAImpl,CORBA::Any*>(t,data,0);
2283  }
Any* YACS::ENGINE::convertPyObjectCpp ( const TypeCode *  t,
PyObject *  data 
)

Definition at line 36 of file PythonCppConv.cxx.

References convertPyObjectNeutral().

Referenced by YACS::ENGINE::PyCpp::put().

37  {
38  return convertPyObjectNeutral(t, data);
39  }
YACSRUNTIMESALOME_EXPORT YACS::ENGINE::Any * YACS::ENGINE::convertPyObjectNeutral ( const TypeCode *  t,
PyObject *  data 
)

Definition at line 2276 of file TypeConversions.cxx.

References gui.Appli::t.

Referenced by convertPyObjectCpp(), and YACS::ENGINE::PyNeutral::put().

2277  {
2278  return YacsConvertor<PYTHONImpl,PyObject*,void*,NEUTRALImpl,YACS::ENGINE::Any*>(t,data,0);
2279  }
YACSRUNTIMESALOME_EXPORT PyObject * YACS::ENGINE::convertPyObjectPyObject ( const TypeCode *  t,
PyObject *  data 
)

Definition at line 2284 of file TypeConversions.cxx.

References gui.Appli::t.

2285  {
2286  return YacsConvertor<PYTHONImpl,PyObject*,void*,PYTHONImpl,PyObject*>(t,data,0);
2287  }
YACSRUNTIMESALOME_EXPORT std::string YACS::ENGINE::convertPyObjectToString ( PyObject *  ob)

Definition at line 2289 of file TypeConversions.cxx.

Referenced by YACS::ENGINE::RuntimeSALOME::convertNeutralAsString(), YACS::ENGINE::RuntimeSALOME::convertPyObjectToString(), YACS::ENGINE::OutputPresetPort::getAsString(), YACS::ENGINE::InputPresetPort::getAsString(), YACS::ENGINE::InputCorbaPort::getAsString(), YACS::ENGINE::InputPyPort::getAsString(), YACS::ENGINE::OutputCorbaPort::getAsString(), and YACS::ENGINE::OutputPyPort::getAsString().

2290  {
2291  PyObject *s;
2292  PyGILState_STATE gstate = PyGILState_Ensure();
2293  s=PyObject_Str(ob);
2294  std::string ss(PyString_AsString(s),PyString_Size(s));
2295  Py_DECREF(s);
2296  PyGILState_Release(gstate);
2297  return ss;
2298  }
YACSRUNTIMESALOME_EXPORT std::string YACS::ENGINE::convertPyObjectXml ( const TypeCode *  t,
PyObject *  data 
)

Definition at line 2272 of file TypeConversions.cxx.

References gui.Appli::t.

Referenced by YACS::ENGINE::InputPyPort::dump(), YACS::ENGINE::OutputPyPort::dump(), YACS::HMI::CommandSetOutPortValue::localExecute(), YACS::HMI::CommandSetOutPortValue::localReverse(), and YACS::ENGINE::PyXml::put().

2273  {
2274  return YacsConvertor<PYTHONImpl,PyObject*,void*,XMLImpl,std::string>(t,data,0);
2275  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertSequence ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 630 of file TypeConversions.cxx.

631  {
632  std::vector<TOUT> v;
633  convertToYacsSequence<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>::convert(t,o,aux,v);
634  TOUT r=convertFromYacsSequence<IMPLOUT,TOUT>::convert(t,v);
635  return r;
636  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertString ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 602 of file TypeConversions.cxx.

References DEBTRACE.

603  {
604  std::string d=convertToYacsString<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>::convert(t,o,aux);
605  DEBTRACE( d );
606  TOUT r=convertFromYacsString<IMPLOUT,TOUT>::convert(t,d);
607  return r;
608  }
template<>
CORBA::Any* YACS::ENGINE::convertString< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > ( const TypeCode *  t,
CORBA::Any *  o,
void *  aux 
)
inline

Definition at line 2209 of file TypeConversions.cxx.

2210  {
2211  return o;
2212  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::convertStruct ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 646 of file TypeConversions.cxx.

647  {
648  std::map<std::string,TOUT> v;
649  convertToYacsStruct<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>::convert(t,o,aux,v);
650  TOUT r=convertFromYacsStruct<IMPLOUT,TOUT>::convert(t,v);
651  return r;
652  }
template<>
CORBA::Any* YACS::ENGINE::convertStruct< CORBAImpl, CORBA::Any *, void *, CORBAImpl, CORBA::Any * > ( const TypeCode *  t,
CORBA::Any *  o,
void *  aux 
)
inline

Definition at line 2224 of file TypeConversions.cxx.

2225  {
2226  return o;
2227  }
YACSRUNTIMESALOME_EXPORT CORBA::Any * YACS::ENGINE::convertXmlCorba ( const TypeCode *  t,
xmlDocPtr  doc,
xmlNodePtr  cur 
)

Definition at line 2309 of file TypeConversions.cxx.

References doc, and gui.Appli::t.

Referenced by YACS::ENGINE::XmlCorba::put().

2310  {
2311  return YacsConvertor<XMLImpl,xmlDocPtr,xmlNodePtr,CORBAImpl,CORBA::Any*>(t,doc,cur);
2312  }
Any* YACS::ENGINE::convertXmlCpp ( const TypeCode *  t,
xmlDocPtr  doc,
xmlNodePtr  cur 
)

Definition at line 38 of file XMLCppConv.cxx.

References convertXmlNeutral().

Referenced by YACS::ENGINE::XmlCpp::put().

39  {
40  return convertXmlNeutral(t, doc, cur);
41  }
YACSRUNTIMESALOME_EXPORT YACS::ENGINE::Any * YACS::ENGINE::convertXmlNeutral ( const TypeCode *  t,
xmlDocPtr  doc,
xmlNodePtr  cur 
)

Definition at line 2305 of file TypeConversions.cxx.

References doc, and gui.Appli::t.

Referenced by convertXmlCpp(), YACS::ENGINE::XmlNeutral::put(), and YACS::ENGINE::nodeParser::xmlToAny().

2306  {
2307  return YacsConvertor<XMLImpl,xmlDocPtr,xmlNodePtr,NEUTRALImpl,YACS::ENGINE::Any*>(t,doc,cur);
2308  }
YACSRUNTIMESALOME_EXPORT PyObject * YACS::ENGINE::convertXmlPyObject ( const TypeCode *  t,
xmlDocPtr  doc,
xmlNodePtr  cur 
)

Definition at line 2301 of file TypeConversions.cxx.

References doc, and gui.Appli::t.

Referenced by convertXmlStrPyObject(), and YACS::ENGINE::XmlPython::put().

2302  {
2303  return YacsConvertor<XMLImpl,xmlDocPtr,xmlNodePtr,PYTHONImpl,PyObject*>(t,doc,cur);
2304  }
YACSRUNTIMESALOME_EXPORT PyObject * YACS::ENGINE::convertXmlStrPyObject ( const TypeCode *  t,
std::string  data 
)

Definition at line 2313 of file TypeConversions.cxx.

References convertXmlPyObject(), and doc.

Referenced by YACS::ENGINE::OutputPresetPort::getPyObj(), and YACS::ENGINE::InputPresetPort::getPyObj().

2314  {
2315  xmlDocPtr doc;
2316  xmlNodePtr cur;
2317  PyObject *ob=NULL;
2318  doc = xmlParseMemory(data.c_str(), strlen(data.c_str()));
2319  if (doc == NULL )
2320  {
2321  std::stringstream msg;
2322  msg << "Problem in conversion: XML Document not parsed successfully ";
2323  msg << " (" << __FILE__ << ":" << __LINE__ << ")";
2324  throw YACS::ENGINE::ConversionException(msg.str());
2325  }
2326  cur = xmlDocGetRootElement(doc);
2327  if (cur == NULL)
2328  {
2329  xmlFreeDoc(doc);
2330  std::stringstream msg;
2331  msg << "Problem in conversion: empty XML Document";
2332  msg << " (" << __FILE__ << ":" << __LINE__ << ")";
2333  throw YACS::ENGINE::ConversionException(msg.str());
2334  }
2335  while (cur != NULL)
2336  {
2337  if ((!xmlStrcmp(cur->name, (const xmlChar *)"value")))
2338  {
2339  ob=convertXmlPyObject(t,doc,cur);
2340  break;
2341  }
2342  cur = cur->next;
2343  }
2344  xmlFreeDoc(doc);
2345  if(ob==NULL)
2346  {
2347  std::stringstream msg;
2348  msg << "Problem in conversion: incorrect XML value";
2349  msg << " (" << __FILE__ << ":" << __LINE__ << ")";
2350  throw YACS::ENGINE::ConversionException(msg.str());
2351  }
2352  return ob;
2353  }
YACSRUNTIMESALOME_EXPORT PyObject * YACS::ENGINE::evalFuncPyWithNoParams ( PyObject *  func)

Definition at line 179 of file PyStdout.cxx.

References YACS::ENGINE::AutoPyRef::isNull(), PMMLBasicsTestLauncher::ret, and YACS::ENGINE::AutoPyRef::retn().

180 {
181  if(!func)
182  throw YACS::Exception("evalFuncPyWithNoParams : input func is NULL !");
183  AutoPyRef args(PyTuple_New(0));
184  AutoPyRef ret(PyObject_CallObject(func,args));
185  if(ret.isNull())
186  throw YACS::Exception("evalFuncPyWithNoParams : ret is null !");
187  return ret.retn();
188 }
YACSRUNTIMESALOME_EXPORT PyObject * YACS::ENGINE::evalPy ( const std::string &  funcName,
const std::string &  strToEval 
)

Definition at line 140 of file PyStdout.cxx.

References YACS::ENGINE::AutoPyRef::isNull(), newPyStdOut(), and PMMLBasicsTestLauncher::ret.

141 {
142  std::ostringstream oss0; oss0 << "def " << funcName << "():\n";
143  std::string::size_type i0(0);
144  while(i0<strToEval.length() && i0!=std::string::npos)
145  {
146  std::string::size_type i2(strToEval.find('\n',i0));
147  std::string::size_type lgth(i2!=std::string::npos?i2-i0:std::string::npos);
148  std::string part(strToEval.substr(i0,lgth));
149  if(!part.empty())
150  oss0 << " " << part << "\n";
151  i0=i2!=std::string::npos?i2+1:std::string::npos;
152  }
153  std::string zeCodeStr(oss0.str());
154  std::ostringstream stream;
155  stream << "/tmp/PythonNode_";
156  stream << getpid();
157  AutoPyRef context(PyDict_New());
158  PyDict_SetItemString( context, "__builtins__", PyEval_GetBuiltins() );
159  AutoPyRef code(Py_CompileString(zeCodeStr.c_str(), "kkkk", Py_file_input));
160  if(code.isNull())
161  {
162  std::string errorDetails;
163  PyObject *new_stderr(newPyStdOut(errorDetails));
164  PySys_SetObject((char*)"stderr", new_stderr);
165  PyErr_Print();
166  PySys_SetObject((char*)"stderr", PySys_GetObject((char*)"__stderr__"));
167  Py_DECREF(new_stderr);
168  std::ostringstream oss; oss << "evalPy failed : " << errorDetails;
169  throw Exception(oss.str());
170  }
171  AutoPyRef res(PyEval_EvalCode(reinterpret_cast<PyCodeObject *>((PyObject *)code),context,context));
172  PyObject *ret(PyDict_GetItemString(context,funcName.c_str())); //borrowed ref
173  if(!ret)
174  throw YACS::Exception("evalPy : Error on returned func !");
175  Py_XINCREF(ret);
176  return ret;
177 }
SALOMEDS::SObject_ptr YACS::ENGINE::findOrCreateSoWithName ( SALOMEDS::Study_ptr  study,
SALOMEDS::StudyBuilder_ptr  builder,
SALOMEDS::SObject_ptr  sobj,
const std::string &  name 
)

Definition at line 233 of file StudyPorts.cxx.

Referenced by YACS::ENGINE::InputStudyPort::putDataInStudy().

235 {
236  SALOMEDS::ChildIterator_var anIterator= study->NewChildIterator(sobj);
237  SALOMEDS::GenericAttribute_var anAttr;
238  SALOMEDS::AttributeName_var namAttr ;
239  SALOMEDS::SObject_var result=SALOMEDS::SObject::_nil();
240 
241  for (; anIterator->More(); anIterator->Next())
242  {
243  SALOMEDS::SObject_var anObj=anIterator->Value();
244  if(anObj->FindAttribute(anAttr, "AttributeName"))
245  {
246  namAttr = SALOMEDS::AttributeName::_narrow( anAttr );
247  CORBA::String_var value=namAttr->Value();
248  if(name == (const char*)value)
249  {
250  result=anObj;
251  break;
252  }
253  }
254  }
255  if(CORBA::is_nil(result))
256  {
257  //create it
258  result = builder->NewObject( sobj );
259  anAttr=builder->FindOrCreateAttribute(result,"AttributeName");
260  namAttr = SALOMEDS::AttributeName::_narrow( anAttr );
261  namAttr->SetValue(name.c_str());
262  }
263  return result._retn();
264 }
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCBool ( const TypeCode *  t)

Definition at line 125 of file TypeConversions.cxx.

126  {
127  return CORBA::TypeCode::_duplicate(CORBA::_tc_boolean);
128  }
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCDouble ( const TypeCode *  t)

Definition at line 110 of file TypeConversions.cxx.

111  {
112  return CORBA::TypeCode::_duplicate(CORBA::_tc_double);
113  }
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCInt ( const TypeCode *  t)

Definition at line 115 of file TypeConversions.cxx.

116  {
117  return CORBA::TypeCode::_duplicate(CORBA::_tc_long);
118  }
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCNull ( const TypeCode *  t)

Definition at line 102 of file TypeConversions.cxx.

References YACS::ENGINE::TypeCode::kind().

103  {
104  stringstream msg;
105  msg << "Conversion not implemented: kind= " << t->kind();
106  msg << " : " << __FILE__ << ":" << __LINE__;
107  throw YACS::ENGINE::ConversionException(msg.str());
108  }
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCObjref ( const TypeCode *  t)

Definition at line 130 of file TypeConversions.cxx.

References DEBTRACE, YACS::ENGINE::RuntimeSALOME::getOrb(), getSALOMERuntime(), YACS::ENGINE::TypeCode::id(), YACS::ENGINE::TypeCode::name(), and YACS::ENGINE::TypeCode::shortName().

131  {
132  DEBTRACE( t->name() << " " << t->shortName() << " " << t->id());
133  CORBA::TypeCode_ptr tc;
134  if(strncmp(t->id(),"python",6)==0 )
135  tc= CORBA::TypeCode::_duplicate(Engines::_tc_fileBlock);
136  else if(strncmp(t->id(),"json",4)==0)
137  tc= CORBA::TypeCode::_duplicate(CORBA::_tc_string);
138  else
139  tc= getSALOMERuntime()->getOrb()->create_interface_tc(t->id(),t->shortName());
140 #ifdef REFCNT
141  DEBTRACE("refcount CORBA tc Objref: " << ((omni::TypeCode_base*)tc)->pd_ref_count);
142 #endif
143  return tc;
144  }
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCSequence ( const TypeCode *  t)

Definition at line 146 of file TypeConversions.cxx.

References YACS::ENGINE::TypeCode::contentType(), DEBTRACE, getCorbaTC(), YACS::ENGINE::RuntimeSALOME::getOrb(), and getSALOMERuntime().

147  {
148  CORBA::TypeCode_var content_type=getCorbaTC(t->contentType());
149  CORBA::TypeCode_ptr tc= getSALOMERuntime()->getOrb()->create_sequence_tc(0,content_type);
150 #ifdef REFCNT
151  DEBTRACE("refcount CORBA content_type: " << ((omni::TypeCode_base*)content_type.in())->pd_ref_count);
152  DEBTRACE("refcount CORBA tc: " << ((omni::TypeCode_base*)tc)->pd_ref_count);
153 #endif
154  return tc;
155  }
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCString ( const TypeCode *  t)

Definition at line 120 of file TypeConversions.cxx.

121  {
122  return CORBA::TypeCode::_duplicate(CORBA::_tc_string);
123  }
CORBA::TypeCode_ptr YACS::ENGINE::getCorbaTCStruct ( const TypeCode *  t)

Definition at line 157 of file TypeConversions.cxx.

References DEBTRACE, getCorbaTC(), YACS::ENGINE::RuntimeSALOME::getOrb(), getSALOMERuntime(), CORBAEngineTest::i, YACS::ENGINE::TypeCode::id(), YACS::ENGINE::TypeCodeStruct::memberCount(), YACS::ENGINE::TypeCodeStruct::memberName(), YACS::ENGINE::TypeCodeStruct::memberType(), YACS::ENGINE::TypeCode::name(), and YACS::ENGINE::TypeCode::shortName().

158  {
159  CORBA::StructMemberSeq mseq;
161  int nMember=tst->memberCount();
162  mseq.length(nMember);
163  for(int i=0;i<nMember;i++)
164  {
165  const char * name=tst->memberName(i);
166  TypeCode* tm=tst->memberType(i);
167  mseq[i].name=CORBA::string_dup(name);
168  mseq[i].type=getCorbaTC(tm);
169  }
170  CORBA::TypeCode_ptr tc= getSALOMERuntime()->getOrb()->create_struct_tc(t->id(),t->shortName(),mseq);
171 #ifdef REFCNT
172  DEBTRACE("refcount CORBA tc: " << ((omni::TypeCode_base*)tc)->pd_ref_count);
173 #endif
174  return tc;
175  }
std::string YACS::ENGINE::getImplName ( ImplType  impl)
RuntimeSALOME * YACS::ENGINE::getSALOMERuntime ( )

Definition at line 140 of file RuntimeSALOME.cxx.

References YASSERT.

Referenced by YACS::HMI::CatalogWidget::addCatalogFromFile(), YACS::ENGINE::convertToYacsObjref< PYTHONImpl, PyObject *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertFromYacsObjref< PYTHONImpl, PyObject * >::convert(), YACS::ENGINE::convertFromYacsObjref< NEUTRALImpl, YACS::ENGINE::Any * >::convert(), YACS::ENGINE::convertToYacsObjref< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsSequence< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsStruct< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertFromYacsObjref< CORBAImpl, CORBA::Any * >::convert(), YACS::ENGINE::convertFromYacsSequence< CORBAImpl, CORBA::Any * >::convert(), YACS::ENGINE::convertFromYacsStruct< CORBAImpl, CORBA::Any * >::convert(), YACS::ENGINE::CorbaPySequence::CorbaPySequence(), YACS::HMI::GuiEditor::CreateForEachLoop(), YACS::HMI::GuiEditor::CreateNode(), YACS::ENGINE::StudyInNode::execute(), YACS::ENGINE::StudyOutNode::execute(), YACS::HMI::GenericGui::GenericGui(), getCorbaTCObjref(), getCorbaTCSequence(), getCorbaTCStruct(), YACS::HMI::GenericGui::getMachineList(), YACS::ENGINE::SalomeContainerTools::getResourceProperties(), YACS::HMI::BatchJobsListDialog::getSalomeLauncher(), YACS::HMI::GuiContext::GuiContext(), YACS::ENGINE::InputCorbaPort::InputCorbaPort(), YACS::HMI::Invocator::Invocator(), YACS::ENGINE::SalomeComponent::load(), YACS::ENGINE::CORBAComponent::load(), YACS::ENGINE::DistributedPythonNode::load(), YACS::ENGINE::SessionCataLoader::loadCata(), YACS::HMI::SubjectProc::loadTypes(), YACS::HMI::CommandPutInComposedNode::localExecute(), YACS::HMI::CommandSetInPortValue::localExecute(), YACS::HMI::CommandSetOutPortValue::localExecute(), YACS::HMI::CommandSetInPortValue::localReverse(), YACS::HMI::CommandSetOutPortValue::localReverse(), main(), YACS::HMI::GenericGui::onNewSchema(), YACS::ENGINE::OutputCorbaPort::OutputCorbaPort(), YACS::ENGINE::InputStudyPort::putDataInStudy(), YACS::ENGINE::PyCorbaObjref::PyCorbaObjref(), YACS::ENGINE::PyFuncNode::PyFuncNode(), YACS::ENGINE::PythonNode::PythonNode(), YACS::ENGINE::SalomePythonNode::SalomePythonNode(), YACS::ENGINE::SalomeContainerTools::Start(), and YACS::HMI::GuiExecutor::startResumeDataflow().

141 {
142  YASSERT(RuntimeSALOME::getSingleton());
143  return dynamic_cast< RuntimeSALOME* >(RuntimeSALOME::getSingleton());
144 }
template<ImplType IMPLIN, ImplType IMPLOUT>
int YACS::ENGINE::isAdaptable ( const TypeCode *  t1,
const TypeCode *  t2 
)
inline

Definition at line 317 of file TypeConversions.cxx.

References Array, Bool, Double, Int, YACS::ENGINE::TypeCode::kind(), Objref, Sequence, String, and Struct.

Referenced by YACS::ENGINE::NeutralInit::put().

318  {
319  switch(t2->kind())
320  {
321  case Double:
322  return isAdaptableDouble<IMPLIN,IMPLOUT>::apply(t1,t2);
323  case Int:
324  return isAdaptableInt<IMPLIN,IMPLOUT>::apply(t1,t2);
325  case String:
326  return isAdaptableString<IMPLIN,IMPLOUT>::apply(t1,t2);
327  case Bool:
328  return isAdaptableBool<IMPLIN,IMPLOUT>::apply(t1,t2);
329  case Objref:
330  return isAdaptableObjref<IMPLIN,IMPLOUT>::apply(t1,t2);
331  case Sequence:
332  return isAdaptableSequence<IMPLIN,IMPLOUT>::apply(t1,t2);
333  case Array:
334  return isAdaptableArray<IMPLIN,IMPLOUT>::apply(t1,t2);
335  case Struct:
336  return isAdaptableStruct<IMPLIN,IMPLOUT>::apply(t1,t2);
337  default:
338  break;
339  }
340  return 0;
341  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableCorbaCorba ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 390 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by YACS::ENGINE::RuntimeSALOME::adaptCorbaToCorba().

391  {
392  return isAdaptable<CORBAImpl,CORBAImpl>(t1,t2);
393  }
int YACS::ENGINE::isAdaptableCorbaCpp ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 56 of file CppCORBAConv.cxx.

References isAdaptableCorbaNeutral().

Referenced by YACS::ENGINE::RuntimeSALOME::adaptCorbaToCpp().

57  {
58  return isAdaptableCorbaNeutral(t1, t2);
59  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableCorbaNeutral ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 358 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by YACS::ENGINE::RuntimeSALOME::adaptCorbaToNeutral(), and isAdaptableCorbaCpp().

359  {
360  return isAdaptable<NEUTRALImpl,CORBAImpl>(t1,t2);
361  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableCorbaPyObject ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 344 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by YACS::ENGINE::RuntimeSALOME::adaptCorbaToPython().

345  {
346  return isAdaptable<PYTHONImpl,CORBAImpl>(t1,t2);
347  }
int YACS::ENGINE::isAdaptableCppCorba ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 71 of file CORBACppConv.cxx.

References isAdaptableNeutralCorba().

Referenced by YACS::ENGINE::RuntimeSALOME::adaptCppToCorba().

72  {
73  return isAdaptableNeutralCorba(t1, t2);
74  }
int YACS::ENGINE::isAdaptableCppCpp ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 69 of file CppCppConv.cxx.

References isAdaptableNeutralNeutral().

70  {
72  }
int YACS::ENGINE::isAdaptableCppNeutral ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 69 of file NeutralCppConv.cxx.

References isAdaptableNeutralNeutral().

70  {
72  }
int YACS::ENGINE::isAdaptableCppPyObject ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 64 of file PythonCppConv.cxx.

References isAdaptableNeutralPyObject().

Referenced by YACS::ENGINE::RuntimeSALOME::adaptCppToPython().

65  {
67  }
int YACS::ENGINE::isAdaptableCppXml ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 105 of file XMLCppConv.cxx.

References isAdaptableNeutralXml().

Referenced by YACS::ENGINE::RuntimeSALOME::adaptCppToXml().

106  {
107  return isAdaptableNeutralXml(t1, t2);
108  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableNeutralCorba ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 382 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by isAdaptableCppCorba(), and isAdaptableNeutralNeutral().

383  {
384  return isAdaptable<CORBAImpl,NEUTRALImpl>(t1,t2);
385  }
int YACS::ENGINE::isAdaptableNeutralCpp ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 69 of file CppNeutralConv.cxx.

References isAdaptableNeutralNeutral().

Referenced by YACS::ENGINE::RuntimeSALOME::adaptNeutralToCpp().

70  {
72  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableNeutralNeutral ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 370 of file TypeConversions.cxx.

References isAdaptableNeutralCorba().

Referenced by isAdaptableCppCpp(), isAdaptableCppNeutral(), and isAdaptableNeutralCpp().

371  {
372  return isAdaptableNeutralCorba(t1, t2);
373  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableNeutralPyObject ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 348 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by isAdaptableCppPyObject().

349  {
350  return isAdaptable<PYTHONImpl,NEUTRALImpl>(t1,t2);
351  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableNeutralXml ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 376 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by isAdaptableCppXml().

377  {
378  return isAdaptable<XMLImpl,NEUTRALImpl>(t1,t2);
379  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptablePyObjectCorba ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 394 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by YACS::ENGINE::RuntimeSALOME::adaptPythonToCorba().

395  {
396  return isAdaptable<CORBAImpl,PYTHONImpl>(t1,t2);
397  }
int YACS::ENGINE::isAdaptablePyObjectCpp ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 70 of file CppPythonConv.cxx.

References isAdaptablePyObjectNeutral().

Referenced by YACS::ENGINE::RuntimeSALOME::adaptPythonToCpp().

71  {
73  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptablePyObjectNeutral ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 362 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by YACS::ENGINE::RuntimeSALOME::adaptPythonToNeutral(), and isAdaptablePyObjectCpp().

363  {
364  return isAdaptable<NEUTRALImpl,PYTHONImpl>(t1,t2);
365  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptablePyObjectPyObject ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 352 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by YACS::ENGINE::RuntimeSALOME::adaptPythonToPython().

353  {
354  return isAdaptable<PYTHONImpl,PYTHONImpl>(t1,t2);
355  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableXmlCorba ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 386 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by YACS::ENGINE::RuntimeSALOME::adaptXmlToCorba().

387  {
388  return isAdaptable<CORBAImpl,XMLImpl>(t1,t2);
389  }
int YACS::ENGINE::isAdaptableXmlCpp ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 69 of file CppXMLConv.cxx.

References isAdaptableXmlNeutral().

70  {
71  return isAdaptableXmlNeutral(t1, t2);
72  }
YACSRUNTIMESALOME_EXPORT int YACS::ENGINE::isAdaptableXmlNeutral ( const TypeCode *  t1,
const TypeCode *  t2 
)

Definition at line 366 of file TypeConversions.cxx.

References YACS::t1, and YACS::t2.

Referenced by isAdaptableXmlCpp().

367  {
368  return isAdaptable<NEUTRALImpl,XMLImpl>(t1,t2);
369  }
void YACS::ENGINE::loadState ( YACS::ENGINE::Proc p,
const std::string &  xmlStateFile 
)

Load state from a file into a Proc.

Parameters
p,:the Proc
xmlStateFile,:the file name

Definition at line 950 of file LoadState.cxx.

References DEBTRACE, YACS::ENGINE::Bloc::exUpdateState(), YACS::ENGINE::Bloc::init(), and YACS::ENGINE::stateLoader::parse().

Referenced by YACS::HMI::BatchJobsListDialog::get_dump_file().

951 {
952  DEBTRACE("YACS::ENGINE::loadState");
953  p->init();
954  p->exUpdateState();
955  stateParser* rootParser = new stateParser();
956  stateLoader myStateLoader(rootParser, p);
957  myStateLoader.parse(xmlStateFile);
958 }
void YACS::ENGINE::NbDoneLoader ( Loop node,
int  val 
)

For use only when loading a previously saved execution

Definition at line 687 of file Loop.cxx.

References YACS::ENGINE::Loop::_nbOfTurns.

Referenced by YACS::ENGINE::nodeParser::onEnd().

688 {
689  node->_nbOfTurns = val;
690 }
YACSRUNTIMESALOME_EXPORT PyObject * YACS::ENGINE::newPyStdOut ( std::string &  out)
YACSRUNTIMESALOME_EXPORT std::ostream& YACS::ENGINE::operator<< ( std::ostream &  os,
const YACS::ENGINE::OutputCorbaPort p 
)
ostream& YACS::ENGINE::operator<< ( ostream &  os,
const OutputCorbaPort p 
)

Definition at line 456 of file CORBAPorts.cxx.

References YACS::ENGINE::OutputCorbaPort::_data, YACS::ENGINE::DataPort::_name, and Double.

457  {
458  CORBA::Double l;
459  p._data>>=l;
460  os << p._name << " : " << l ;
461  return os;
462  }
void YACS::ENGINE::printbin ( const std::string &  bin)

Definition at line 62 of file TypeConversions.cxx.

References gui.CONNECTOR::c, and CORBAEngineTest::i.

63  {
64  register char c;
65  for(int i=0;i<bin.length();i++)
66  {
67  c=bin[i];
68  if (c < ' ' || c >= 0x7f)
69  {
70  fprintf(stderr,"\\x%02x",c & 0xff);
71  }
72  else
73  fprintf(stderr,"%c",c);
74  }
75  fprintf(stderr,"\n");
76  }
static void YACS::ENGINE::PyStdOut_dealloc ( PyStdOut *  self)
static

Definition at line 46 of file PyStdout.cxx.

47 {
48  PyObject_Del(self);
49 }
static PyObject* YACS::ENGINE::PyStdOut_write ( PyStdOut *  self,
PyObject *  args 
)
static

Definition at line 52 of file PyStdout.cxx.

References gui.CONNECTOR::c.

53 {
54  char *c;
55  int l;
56  if (!PyArg_ParseTuple(args, "t#:write",&c, &l))
57  return NULL;
58 
59  //std::cerr << c ;
60  *(self->out)=*(self->out)+std::string(c);
61 
62  Py_INCREF(Py_None);
63  return Py_None;
64 }
void YACS::ENGINE::schemaSaveState ( Proc proc,
Executor exec,
const std::string &  xmlSchemaFile 
)
void YACS::ENGINE::StateLoader ( Node node,
YACS::StatesForNode  state 
)

For use only when loading a previously saved execution

Definition at line 677 of file Node.cxx.

References YACS::ENGINE::Node::setState().

Referenced by YACS::ENGINE::nodeParser::onEnd().

678 {
679  node->setState(state);
680 }
template<ImplType IMPLIN, class TIN , class TIN2 >
bool YACS::ENGINE::YacsChecker ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 2462 of file TypeConversions.cxx.

References Array, Bool, Double, Int, YACS::ENGINE::TypeCode::kind(), Objref, Sequence, String, Struct, and gui.Appli::t.

2463  {
2464  int tk=t->kind();
2465  switch(t->kind())
2466  {
2467  case Double:
2468  return checkDouble<IMPLIN,TIN,TIN2>(t,o,aux);
2469  case Int:
2470  return checkInt<IMPLIN,TIN,TIN2>(t,o,aux);
2471  case String:
2472  return checkString<IMPLIN,TIN,TIN2>(t,o,aux);
2473  case Bool:
2474  return checkBool<IMPLIN,TIN,TIN2>(t,o,aux);
2475  case Objref:
2476  return checkObjref<IMPLIN,TIN,TIN2>(t,o,aux);
2477  case Sequence:
2478  return checkSequence<IMPLIN,TIN,TIN2>(t,o,aux);
2479  case Array:
2480  return checkArray<IMPLIN,TIN,TIN2>(t,o,aux);
2481  case Struct:
2482  return checkStruct<IMPLIN,TIN,TIN2>(t,o,aux);
2483  default:
2484  break;
2485  }
2486  stringstream msg;
2487  msg << "Check not implemented for kind= " << tk ;
2488  msg << " : " << __FILE__ << ":" << __LINE__;
2489  throw YACS::ENGINE::ConversionException(msg.str());
2490  }
template<ImplType IMPLIN, class TIN , class TIN2 , ImplType IMPLOUT, class TOUT >
TOUT YACS::ENGINE::YacsConvertor ( const TypeCode *  t,
TIN  o,
TIN2  aux 
)
inline

Definition at line 655 of file TypeConversions.cxx.

References Array, Bool, Double, Int, YACS::ENGINE::TypeCode::kind(), Objref, Sequence, String, Struct, and gui.Appli::t.

656  {
657  int tk=t->kind();
658  switch(t->kind())
659  {
660  case Double:
661  return convertDouble<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>(t,o,aux);
662  case Int:
663  return convertInt<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>(t,o,aux);
664  case String:
665  return convertString<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>(t,o,aux);
666  case Bool:
667  return convertBool<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>(t,o,aux);
668  case Objref:
669  return convertObjref<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>(t,o,aux);
670  case Sequence:
671  return convertSequence<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>(t,o,aux);
672  case Array:
673  return convertArray<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>(t,o,aux);
674  case Struct:
675  return convertStruct<IMPLIN,TIN,TIN2,IMPLOUT,TOUT>(t,o,aux);
676  default:
677  break;
678  }
679  stringstream msg;
680  msg << "Conversion not implemented: kind= " << tk << " Implementation: " << IMPLOUT;
681  msg << " : " << __FILE__ << ":" << __LINE__;
682  throw YACS::ENGINE::ConversionException(msg.str());
683  }

Variable Documentation

PyMemberDef YACS::ENGINE::PyStdOut_memberlist[]
static
Initial value:
= {
{(char*)"softspace", T_INT, offsetof(PyStdOut, softspace), 0,
(char*)"flag indicating that a space needs to be printed; used by print"},
{NULL}
}

Definition at line 72 of file PyStdout.cxx.

PyMethodDef YACS::ENGINE::PyStdOut_methods[]
static
Initial value:
= {
{"write", (PyCFunction)PyStdOut_write, METH_VARARGS,
PyDoc_STR("write(string) -> None")},
{NULL, NULL}
}

Definition at line 66 of file PyStdout.cxx.

PyTypeObject YACS::ENGINE::PyStdOut_Type
static

Definition at line 78 of file PyStdout.cxx.