mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-08 10:37:28 +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.
|
* 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.
|
* \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 )) {
|
if ( myStudyContext && !CORBA::is_nil( theObject )) {
|
||||||
string iorString = GetORB()->object_to_string( theObject );
|
string iorString = GetORB()->object_to_string( theObject );
|
||||||
|
@ -71,7 +71,7 @@ public:
|
|||||||
// register object in the internal map and return its id
|
// register object in the internal map and return its id
|
||||||
int addObject( const std::string& theIOR );
|
int addObject( const std::string& theIOR );
|
||||||
// find the object id in the internal map by the IOR
|
// 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
|
// get object's IOR by id
|
||||||
std::string getIORbyId( const int theId );
|
std::string getIORbyId( const int theId );
|
||||||
// get object's IOR by old id
|
// get object's IOR by old id
|
||||||
@ -537,7 +537,7 @@ public:
|
|||||||
int RegisterObject(CORBA::Object_ptr theObject);
|
int RegisterObject(CORBA::Object_ptr theObject);
|
||||||
|
|
||||||
// Return id of registered object
|
// 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
|
// Return an object that previously had an oldID
|
||||||
template<class TInterface>
|
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
|
//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;
|
TInt2StringMap::iterator imap;
|
||||||
for ( imap = mapIdToIOR.begin(); imap != mapIdToIOR.end(); ++imap ) {
|
for ( imap = mapIdToIOR.begin(); imap != mapIdToIOR.end(); ++imap ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user