Version: 8.3.0
StudyContext Class Reference

#include <SMESH_Gen_i.hxx>

Public Member Functions

 StudyContext ()
 
 ~StudyContext ()
 
int addObject (std::string theIOR)
 
int findId (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)
 

Private Member Functions

int getNextId ()
 

Private Attributes

std::map< int, std::string > mapIdToIOR
 
std::map< int, intmapIdToId
 

Constructor & Destructor Documentation

StudyContext::StudyContext ( )
StudyContext::~StudyContext ( )

Member Function Documentation

int StudyContext::addObject ( std::string  theIOR)
int StudyContext::findId ( std::string  theIOR)
std::string StudyContext::getIORbyId ( const int  theId)
std::string StudyContext::getIORbyOldId ( const int  theOldId)
int StudyContext::getNextId ( )
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().

Field Documentation

std::map<int, int> StudyContext::mapIdToId
private
std::map<int, std::string> StudyContext::mapIdToIOR
private