Commit 6078ac2d authored by Vitaly Lipatov's avatar Vitaly Lipatov

add string support for getIdByName

parent 32b858cc
......@@ -232,6 +232,10 @@ class UniversalInterface
{
return oind->getIdByName(name);
}
inline UniSetTypes::ObjectId getIdByName(const string name)
{
return getIdByName(name.c_str());
}
/*! */
inline std::string getNameById( UniSetTypes::ObjectId id )
......
......@@ -140,8 +140,8 @@ stCountOfQueueFull(0)
{
/*! \warning UniverslalInterface */
tmr = CREATE_TIMER;
myname = section+"/"+name;
myid = ui.getIdByName(myname.c_str());
myname = section + "/" + name;
myid = ui.getIdByName(myname);
if( myid == DefaultObjectId )
{
unideb[Debug::WARN] << "name: ObjectsMap!!!" << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment