#include <ltsm/FileInterface.h>
|
virtual void | fclose (Handle f) |
|
virtual bool | feof (Handle f) |
|
virtual bool | fflush (Handle f) |
|
| FileInterface () |
|
virtual dabc::Object * | fmatch (const char *fmask, bool select_files=true) |
| Produce list of files, object must be explicitly destroyed with ref.Destroy call One could decide if files or directories should be listed. More...
|
|
virtual Handle | fopen (const char *fname, const char *mode, const char *opt=0) |
|
virtual size_t | fread (void *ptr, size_t sz, size_t nmemb, Handle f) |
|
virtual bool | fseek (Handle f, long int offset, bool realtive=true) |
|
virtual size_t | fwrite (const void *ptr, size_t sz, size_t nmemb, Handle f) |
|
virtual int | GetFileIntPar (Handle h, const char *parname) |
| Method returns file-specific int parameter. More...
|
|
virtual bool | GetFileStrPar (Handle h, const char *parname, char *sbuf, int sbuflen) |
| Method returns file-specific string parameter. More...
|
|
virtual | ~FileInterface () |
|
virtual bool | mkdir (const char *path) |
|
Definition at line 36 of file FileInterface.h.
◆ FileInterface()
ltsm::FileInterface::FileInterface |
( |
| ) |
|
◆ ~FileInterface()
ltsm::FileInterface::~FileInterface |
( |
| ) |
|
|
virtual |
◆ OpenTSMSession()
bool ltsm::FileInterface::OpenTSMSession |
( |
const char * |
options | ) |
|
|
protected |
Re-open session with parameters specified in dabc options string.
Definition at line 390 of file FileInterface.cxx.
◆ CloseTSMSession()
bool ltsm::FileInterface::CloseTSMSession |
( |
| ) |
|
|
protected |
◆ fopen()
◆ fclose()
void ltsm::FileInterface::fclose |
( |
Handle |
f | ) |
|
|
virtual |
◆ fwrite()
size_t ltsm::FileInterface::fwrite |
( |
const void * |
ptr, |
|
|
size_t |
sz, |
|
|
size_t |
nmemb, |
|
|
Handle |
f |
|
) |
| |
|
virtual |
◆ fread()
size_t ltsm::FileInterface::fread |
( |
void * |
ptr, |
|
|
size_t |
sz, |
|
|
size_t |
nmemb, |
|
|
Handle |
f |
|
) |
| |
|
virtual |
◆ feof()
bool ltsm::FileInterface::feof |
( |
Handle |
f | ) |
|
|
virtual |
◆ fflush()
bool ltsm::FileInterface::fflush |
( |
Handle |
f | ) |
|
|
virtual |
◆ fseek()
bool ltsm::FileInterface::fseek |
( |
Handle |
f, |
|
|
long int |
offset, |
|
|
bool |
realtive = true |
|
) |
| |
|
virtual |
◆ fmatch()
dabc::Object * ltsm::FileInterface::fmatch |
( |
const char * |
fmask, |
|
|
bool |
select_files = true |
|
) |
| |
|
virtual |
Produce list of files, object must be explicitly destroyed with ref.Destroy call One could decide if files or directories should be listed.
Reimplemented from dabc::FileInterface.
Definition at line 383 of file FileInterface.cxx.
◆ GetFileIntPar()
int ltsm::FileInterface::GetFileIntPar |
( |
Handle |
h, |
|
|
const char * |
parname |
|
) |
| |
|
virtual |
◆ GetFileStrPar()
bool ltsm::FileInterface::GetFileStrPar |
( |
Handle |
h, |
|
|
const char * |
parname, |
|
|
char * |
sbuf, |
|
|
int |
sbuflen |
|
) |
| |
|
virtual |
◆ fSession
struct session_t* ltsm::FileInterface::fSession |
|
protected |
◆ fCurrentFile
std::string ltsm::FileInterface::fCurrentFile |
|
protected |
◆ fServername
std::string ltsm::FileInterface::fServername |
|
protected |
◆ fNode
std::string ltsm::FileInterface::fNode |
|
protected |
◆ fPassword
std::string ltsm::FileInterface::fPassword |
|
protected |
◆ fOwner
std::string ltsm::FileInterface::fOwner |
|
protected |
◆ fFsname
std::string ltsm::FileInterface::fFsname |
|
protected |
◆ fDescription
std::string ltsm::FileInterface::fDescription |
|
protected |
◆ fMaxFilesPerSession
int ltsm::FileInterface::fMaxFilesPerSession |
|
protected |
◆ fSessionConnectRetries
int ltsm::FileInterface::fSessionConnectRetries |
|
protected |
◆ fIsClosing
bool ltsm::FileInterface::fIsClosing |
|
protected |
◆ fSessionFileCount
int ltsm::FileInterface::fSessionFileCount |
|
protected |
◆ fUseDaysubfolders
bool ltsm::FileInterface::fUseDaysubfolders |
|
protected |
◆ fUseFileSystemDemon
bool ltsm::FileInterface::fUseFileSystemDemon |
|
protected |
◆ fServernameFSD
std::string ltsm::FileInterface::fServernameFSD |
|
protected |
◆ fPortFSD
int ltsm::FileInterface::fPortFSD |
|
protected |
◆ fSessionFSD
struct fsd_session_t* ltsm::FileInterface::fSessionFSD |
|
protected |
The documentation for this class was generated from the following files: