*
* Can be used to check if the object was created in the same container, as this engine.
*/
- smIdType GetObjectId(in Object theObject);
+ long GetObjectId(in Object theObject);
/*!
* \brief Get version of MED format being used.
*/
//================================================================================
-SMESH::smIdType SMESH_Gen_i::GetObjectId(CORBA::Object_ptr theObject)
+CORBA::Long SMESH_Gen_i::GetObjectId(CORBA::Object_ptr theObject)
{
if ( myStudyContext && !CORBA::is_nil( theObject )) {
string iorString = GetORB()->object_to_string( theObject );
// register object in the internal map and return its id
int addObject( const std::string& theIOR );
// find the object id in the internal map by the IOR
- smIdType findId( const std::string& theIOR );
+ int findId( const std::string& theIOR );
// get object's IOR by id
std::string getIORbyId( const int theId );
// get object's IOR by old id
int RegisterObject(CORBA::Object_ptr theObject);
// Return id of registered object
- SMESH::smIdType GetObjectId(CORBA::Object_ptr theObject);
+ CORBA::Long GetObjectId(CORBA::Object_ptr theObject);
// Return an object that previously had an oldID
template<class TInterface>
//purpose : find the object id in the internal map by the IOR
//=======================================================================
-smIdType StudyContext::findId( const std::string& theIOR )
+int StudyContext::findId( const std::string& theIOR )
{
TInt2StringMap::iterator imap;
for ( imap = mapIdToIOR.begin(); imap != mapIdToIOR.end(); ++imap ) {