#include <SMESH_Gen_i.hxx>
Public Member Functions | |
StudyContext () | |
int | addObject (const std::string &theIOR) |
int | findId (const std::string &theIOR) |
std::string | getIORbyId (const int theId) |
std::string | getIORbyOldId (const int theOldId) |
void | mapOldToNew (const int oldId, const int newId) |
int | getOldId (const int newId) |
void | Clear () |
Private Types | |
typedef NCollection_DataMap< int, std::string > | TInt2StringMap |
typedef NCollection_DataMap< int, int > | TInt2IntMap |
Private Member Functions | |
int | getNextId () |
Private Attributes | |
TInt2StringMap | mapIdToIOR |
TInt2IntMap | mapIdToId |
|
private |
|
private |
StudyContext::StudyContext | ( | ) |
int StudyContext::addObject | ( | const std::string & | theIOR | ) |
Referenced by SMESH_Gen_i::RegisterObject().
void StudyContext::Clear | ( | ) |
Referenced by SMESH_Gen_i::Close().
int StudyContext::findId | ( | const std::string & | theIOR | ) |
std::string StudyContext::getIORbyId | ( | const int | theId | ) |
std::string StudyContext::getIORbyOldId | ( | const int | theOldId | ) |
Referenced by SMESH_Gen_i::Load(), and SMESH_Gen_i::LocalPersistentIDToIOR().
|
private |
int StudyContext::getOldId | ( | const int | newId | ) |
Referenced by SMESH_Gen_i::Load().
void StudyContext::mapOldToNew | ( | const int | oldId, |
const int | newId | ||
) |
Referenced by SMESH_Gen_i::Load().
|
private |
|
private |