General KERNEL Documentation     End User KERNEL Services  


SALOME_FileTransferCORBA Class Reference

#include <SALOME_FileTransferCORBA.hxx>


Public Member Functions

 SALOME_FileTransferCORBA ()
 SALOME_FileTransferCORBA (Engines::fileRef_ptr aFileRef)
 SALOME_FileTransferCORBA (std::string refMachine, std::string origFileName, std::string containerName="")
virtual ~SALOME_FileTransferCORBA ()
std::string getLocalFile (std::string localFile="")

Protected Attributes

Engines::fileRef_var _theFileRef
std::string _refMachine
std::string _origFileName
std::string _containerName


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]
 

Destructor


Member Function Documentation

string SALOME_FileTransferCORBA::getLocalFile std::string  localFile = ""  ) 
 

CORBA method: get a local copy of the reference file.

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


Field Documentation

Engines::fileRef_var SALOME_FileTransferCORBA::_theFileRef [protected]
 

std::string SALOME_FileTransferCORBA::_refMachine [protected]
 

std::string SALOME_FileTransferCORBA::_origFileName [protected]
 

std::string SALOME_FileTransferCORBA::_containerName [protected]