#include <SALOME_FileRef_i.hxx>
Public Member Functions | |
fileRef_i () | |
Default constructor, not for use. More... | |
fileRef_i (Engines::Container_ptr container, const char *origFileName) | |
Constructor to use. More... | |
virtual | ~fileRef_i () |
Destructor. More... | |
char * | origFileName () |
CORBA method: More... | |
char * | refMachine () |
CORBA method: More... | |
Engines::Container_ptr | getContainer () |
CORBA method: More... | |
CORBA::Boolean | addRef (const char *machine, const char *fileName) |
CORBA method: after a file transfer on a client computer, registers hostname of client and file path of the copied file. More... | |
char * | getRef (const char *machine) |
CORBA method: check if a copy of the file referenced by fileRef is available on the client computer. More... | |
Protected Attributes | |
Engines::Container_var | _container |
std::string | _origFileName |
std::string | _machine |
std::map< std::string, std::string > | _copies |
fileRef_i::fileRef_i | ( | ) |
Default constructor, not for use.
References ASSERT.
fileRef_i::fileRef_i | ( | Engines::Container_ptr | container, |
const char * | origFileName | ||
) |
Constructor to use.
References _container, _machine, _origFileName, addRef(), Kernel_Utils::GetHostname(), MESSAGE, origFileName(), and SCRUTE.
|
virtual |
Destructor.
References MESSAGE.
CORBA method: after a file transfer on a client computer, registers hostname of client and file path of the copied file.
machine | client hostname |
fileName | asolute path of the transfered file on client computer |
References _copies, INFOS, and MESSAGE.
Referenced by fileRef_i().
Engines::Container_ptr fileRef_i::getContainer | ( | ) |
CORBA method: check if a copy of the file referenced by fileRef is available on the client computer.
machine | hostname of the client computer |
References _copies, _machine, _origFileName, and MESSAGE.
char * fileRef_i::origFileName | ( | ) |
CORBA method:
References _origFileName, and MESSAGE.
Referenced by fileRef_i().
char * fileRef_i::refMachine | ( | ) |
|
protected |
Referenced by fileRef_i(), and getContainer().
|
protected |
|
protected |
Referenced by fileRef_i(), getRef(), and refMachine().
|
protected |
Referenced by fileRef_i(), getRef(), and origFileName().