26 #include "Basics_Utils.hxx"
37 cont->
setProperty(
"container_name",
"FactoryServer");
42 std::list<TypeCodeObjref *> ltc)
45 if(
id ==
"") myName =
"IDL:" + name +
":1.0";
52 if(
id ==
"") myName =
"IDL:" + name +
":1.0";
77 std::string cmd=
"import salome;salome.salome_init()";
78 PyGILState_STATE gstate = PyGILState_Ensure();
79 PyRun_SimpleString(cmd.c_str());
80 PyGILState_Release(gstate);
void init(bool start=true)
Initialize the bloc.
virtual void setProperty(const std::string &name, const std::string &value)=0
Base class for all schema objects.
virtual Container * createContainer(const std::string &name, const std::string &kind="")
Create a new Container and store it in containerMap.
virtual void accept(Visitor *visitor)
virtual TypeCode * createStructTc(const std::string &id, const std::string &name)
virtual TypeCode * createInterfaceTc(const std::string &id, const std::string &name, std::list< TypeCodeObjref * > ltc)
Create an object reference TypeCode.
virtual TypeCode * createInterfaceTc(const std::string &id, const std::string &name, std::list< TypeCodeObjref * > ltc)
Create an object reference TypeCode.
SalomeProc(const std::string &name)
virtual void init(bool start=true)
Initialise the proc.
virtual TypeCode * createStructTc(const std::string &id, const std::string &name)
virtual void saveSchema(std::string xmlSchemaFile)
Save Proc in XML schema file.
Base class for all type objects.
void openFileSchema(std::string xmlDump)