#include <SALOME_FileRef_i.hxx>
◆ fileRef_i() [1/2]
Default constructor, not for use.
◆ fileRef_i() [2/2]
| fileRef_i::fileRef_i |
( |
Engines::Container_ptr |
container, |
|
|
const char * |
origFileName |
|
) |
| |
◆ ~fileRef_i()
| fileRef_i::~fileRef_i |
( |
| ) |
|
|
virtual |
◆ addRef()
| CORBA::Boolean fileRef_i::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.
- Parameters
-
| machine | client hostname |
| fileName | absolute path of the transferred file on client computer |
References _copies, and MESSAGE.
Referenced by fileRef_i().
◆ getContainer()
| Engines::Container_ptr fileRef_i::getContainer |
( |
| ) |
|
◆ getRef()
| char * fileRef_i::getRef |
( |
const char * |
machine | ) |
|
CORBA method: check if a copy of the file referenced by fileRef is available on the client computer.
- Parameters
-
| machine | hostname of the client computer |
- Returns
- path of the copy on the client computer, if the copy exists, else empty string
References _copies, _machine, _origFileName, and MESSAGE.
◆ origFileName()
| char * fileRef_i::origFileName |
( |
| ) |
|
CORBA method:
- Returns
- the file name (absolute path) on the computer which runs the container server
References _origFileName, and MESSAGE.
Referenced by fileRef_i().
◆ refMachine()
| char * fileRef_i::refMachine |
( |
| ) |
|
CORBA method:
- Returns
- the hostname of the computer which runs the container server
References _machine, and MESSAGE.
◆ _container
| Engines::Container_var fileRef_i::_container |
|
protected |
◆ _copies
| std::map<std::string, std::string> fileRef_i::_copies |
|
protected |
◆ _machine
| std::string fileRef_i::_machine |
|
protected |
◆ _origFileName
| std::string fileRef_i::_origFileName |
|
protected |