mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
fix errors after review
This commit is contained in:
parent
bd8c0a62a8
commit
e0cf4ffd70
@ -463,7 +463,7 @@ module SMESH
|
||||
*
|
||||
* 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.
|
||||
|
@ -6247,7 +6247,7 @@ int SMESH_Gen_i::RegisterObject(CORBA::Object_ptr theObject)
|
||||
*/
|
||||
//================================================================================
|
||||
|
||||
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 );
|
||||
|
@ -71,7 +71,7 @@ public:
|
||||
// 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
|
||||
@ -537,7 +537,7 @@ public:
|
||||
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>
|
||||
|
@ -1537,7 +1537,7 @@ int StudyContext::addObject( const std::string& theIOR )
|
||||
//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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user