]> SALOME platform Git repositories - modules/yacs.git/blob - src/runtime/SalomeProc.cxx
Salome HOME
merge from branch DEV tag mergeto_trunk_04apr08
[modules/yacs.git] / src / runtime / SalomeProc.cxx
1 #include "SalomeProc.hxx"
2 #include "Runtime.hxx"
3 #include "TypeCode.hxx"
4 #include <iostream>
5
6 using namespace YACS::ENGINE;
7
8 TypeCode * SalomeProc::createInterfaceTc(const std::string& id, const std::string& name,
9                                    std::list<TypeCodeObjref *> ltc)
10 {
11     std::string myName;
12     if(id == "") myName = "IDL:" + name + ":1.0";
13     else myName = id;
14     return TypeCode::interfaceTc(myName.c_str(),name.c_str(),ltc);
15 }
16 TypeCode * SalomeProc::createStructTc(const std::string& id, const std::string& name)
17 {
18   std::string myName;
19   if(id == "") myName = "IDL:" + name + ":1.0";
20   else myName = id;
21   return TypeCode::structTc(myName.c_str(),name.c_str());
22 }
23
24 SalomeProc::~SalomeProc()
25 {
26 }
27