Changeset 3355 in Sophya for trunk/SophyaPI/PIext/nobjmgr.cc


Ignore:
Timestamp:
Oct 23, 2007, 12:02:12 AM (18 years ago)
Author:
ansari
Message:

ajout decodage attributs graphiques samew=WdgName wname=Nom inset=fx1,fx2,fy1,fy2 - Reza 22/10/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r3269 r3355  
    16381638
    16391639/* --Methode-- */
     1640int NamedObjMgr::NameToOId(string & nom)
     1641{
     1642ZSync zs(*myMutex); zs.NOp();
     1643return NameToOId_P(nom);
     1644}
     1645
     1646/* --Methode-- */
     1647int NamedObjMgr::NameToOId_P(string & nom)
     1648{
     1649string n1,r1;
     1650ParseObjectName(nom, r1, n1);
     1651nom = '/' + r1 + '/' + n1;
     1652NObjList::iterator it = myObjs->find(nom);
     1653if (it == myObjs->end()) return(-1);
     1654else return((*it).second.oid);
     1655}
     1656
     1657
     1658/* --Methode-- */
    16401659void NamedObjMgr::AddWRsId(string & nom, int wrsid)
    16411660{
Note: See TracChangeset for help on using the changeset viewer.