28 #ifndef CASA_REGULARFILE_H
29 #define CASA_REGULARFILE_H
151 Bool setUserWritePermission =
True)
const;
153 Bool setUserWritePermission =
True)
const;
191 Bool setUserWritePermission)
const
193 copy (
Path(target), overwrite, setUserWritePermission);
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
void copy(const Path &target, Bool overwrite=True, Bool setUserWritePermission=True) const
Copy the file to the target path using the system command cp.
const Path & path() const
Returns the pathname of the file.
void create(Bool overwrite=True)
Create the regular file.
virtual Int64 size() const
Return the size of the file.
void move(const Path &target, Bool overwrite=True)
Move the file to the target path using the system command mv.
Manipulate and get information about regular files.
Class to get file information and a base for other file classes.
File itsFile
This variable is used when a symbolic link points to the file.
void checkPath()
Check if the path of the file is valid.
bool Bool
Define the standard types used by Casacore.
RegularFile & operator=(const RegularFile ®ularFile)
Assignment (copy semantics).
static void manualCopy(const String &source, const String &target)
Copy the file manually in case the cp command cannot be used.
String: the storage and methods of handling collections of characters.
RegularFile()
Default constructor sets path to.