A class to manage file transfer in SALOME (CORBA context)
More...
Public Member Functions |
| | SALOME_FileTransferCORBA () |
| | SALOME_FileTransferCORBA (Engines::fileRef_ptr aFileRef) |
| | Constructor to use when we get a fileRef CORBA object from a component.
|
| | SALOME_FileTransferCORBA (std::string refMachine, std::string origFileName, std::string containerName="") |
| | Constructor to use when we have the file name and machine from which to copy, plus an optional Container name on the machine.
|
| virtual | ~SALOME_FileTransferCORBA () |
| std::string | getLocalFile (std::string localFile="") |
| | Get a local copy of the reference file.
|
Protected Attributes |
|
Engines::fileRef_var | _theFileRef |
|
std::string | _refMachine |
|
std::string | _origFileName |
|
std::string | _containerName |
Detailed Description
A class to manage file transfer in SALOME (CORBA context)
Constructor & Destructor Documentation
| SALOME_FileTransferCORBA::SALOME_FileTransferCORBA |
( |
| ) |
|
Default constructor, not for use.
| SALOME_FileTransferCORBA::SALOME_FileTransferCORBA |
( |
Engines::fileRef_ptr |
aFileRef | ) |
|
Constructor to use when we get a fileRef CORBA object from a component.
- Parameters:
-
| aFileRef | file reference CORBA object |
| SALOME_FileTransferCORBA::SALOME_FileTransferCORBA |
( |
std::string |
refMachine, |
|
|
std::string |
origFileName, |
|
|
std::string |
containerName = "" |
|
) |
| |
Constructor to use when we have the file name and machine from which to copy, plus an optional Container name on the machine.
- Parameters:
-
| refMachine | the machine on which is the file to transfer |
| origFileName | abolute file path on refMachine |
| containerName | default container name used (FactoryServer) if empty |
| SALOME_FileTransferCORBA::~SALOME_FileTransferCORBA |
( |
| ) |
[virtual] |
Member Function Documentation
| std::string SALOME_FileTransferCORBA::getLocalFile |
( |
std::string |
localFile = "" | ) |
|
Get a local copy of the reference file.
CORBA method
- Parameters:
-
| localFile | optional absolute path to store the copy |
- Returns:
- the file name (absolute path) of the copy, may be different from localFile parameter if the copy was already done before the call