OpendTect-6_4  6.4
Classes | Namespaces | Enumerations | Functions | Variables
file.h File Reference
Include dependency graph for file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  File::ViewPars
 

Namespaces

 File
 Interface for several file and directory related services.
 

Enumerations

enum  File::ViewStyle { File::Text, File::Table, File::Log, File::Bin }
 

Functions

bool File::exists (const char *)
 
bool File::isEmpty (const char *)
 
bool File::isDirEmpty (const char *)
 
bool File::isFile (const char *)
 
bool File::isDirectory (const char *)
 
const char * File::getCanonicalPath (const char *)
 
const char * File::getAbsolutePath (const char *dir, const char *relfnm)
 
const char * File::getRelativePath (const char *reltodir, const char *fnm)
 
void File::makeRecursiveFileList (const char *dir, BufferStringSet &filelist, bool followlinks=false)
 
bool File::createLink (const char *from, const char *to)
 
bool File::isLink (const char *)
 
const char * File::linkTarget (const char *linkname)
 
const char * File::linkValue (const char *linkname)
 
void File::hide (const char *, bool yn)
 only Windows More...
 
bool File::isHidden (const char *)
 
bool File::isWritable (const char *)
 
bool File::makeWritable (const char *, bool yesno, bool recursive)
 
bool File::isExecutable (const char *)
 
bool File::makeExecutable (const char *, bool yesno)
 
bool File::setPermissions (const char *, const char *perms, bool recursive)
 
bool File::isFileInUse (const char *fnm)
 
bool File::createDir (const char *)
 
bool File::rename (const char *oldname, const char *newname)
 
bool File::copy (const char *from, const char *to, BufferString *errmsg=0)
 
ExecutorFile::getRecursiveCopier (const char *from, const char *to)
 
ExecutorFile::getRecursiveDeleter (const char *dirnm, const BufferStringSet *externallist=0, bool filesonly=false)
 
bool File::resize (const char *, int64_t)
 
bool File::remove (const char *)
 
bool File::saveCopy (const char *from, const char *to)
 
bool File::copyDir (const char *from, const char *to, BufferString *errmsg=0)
 
bool File::removeDir (const char *)
 
bool File::changeDir (const char *path)
 
bool File::getContent (const char *, BufferString &)
 
int64_t File::getFileSize (const char *fnm, bool followlink=true)
 bytes More...
 
int64_t File::getKbSize (const char *)
 
BufferString File::getFileSizeString (int64_t fileszinkb)
 
BufferString File::getFileSizeString (const char *fnm)
 
const char * File::timeCreated (const char *filenm, const char *fmt=Time::defDateTimeFmt())
 
const char * File::timeLastModified (const char *filenm, const char *fmt=Time::defDateTimeFmt())
 
int64_t File::getTimeInSeconds (const char *, bool modif=true)
 
int64_t File::getTimeInMilliSeconds (const char *fnm, bool lastmodif=true)
 
const char * File::getCurrentPath ()
 
const char * File::getHomePath ()
 
const char * File::getTempPath ()
 
const char * File::getRootPath (const char *path)
 
Export_Basic const EnumDefImpl< ViewStyle > & File::ViewStyleDef ()
 
Export_Basic const char ** File::ViewStyleNames ()
 
Export_Basic bool File::parseEnum (const IOPar &, const char *, ViewStyle &)
 
Export_Basic bool File::parseEnum (const char *, ViewStyle &)
 
Export_Basic bool File::parseEnumViewStyle (const char *, ViewStyle &)
 
Export_Basic ViewStyle File::parseEnumViewStyle (const char *)
 
Export_Basic const char * File::toString (ViewStyle)
 
Export_Basic uiString File::toUiString (ViewStyle)
 
Export_Basic const char * File::getViewStyleString (ViewStyle)
 
bool File::launchViewer (const char *, const ViewPars &vp=ViewPars())
 

Variables

const char * File::ViewStyleKeys_ []
 

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019