Bool isValid() const
Check if pathname is valid.
String dirName() const
Return the dirname of the path; this is the directory where the filename is found.
Path()
Default constructor, the path is set to.
Path & operator=(const Path &that)
Assignment, copy semantics.
static uInt getMaxNameSize()
Define the maximum number of bytes in a filename This definition does not use Posix values...
static uInt getMaxPathNameSize()
Define the maximum number of bytes in a pathname This definition does not use Posix values...
String itsExpandedPathName
String expandName(const String &inString) const
This function is used by expandedName to replace the tilde and to expand the environment variables...
String itsOriginalPathName
Strings to describe the pathname in three different ways.
uInt length() const
Return length of path name.
String resolvedName() const
Return the realpath which is the absolute pathname with possible symlinks resolved.
uInt maxLength() const
Return the maximum length a path name can have.
const String & expandedName() const
Return a string giving the expanded pathname.
bool Bool
Define the standard types used by Casacore.
const String & originalName() const
Returns the string as given at construction.
Bool isStrictlyPosix() const
Check if pathname is valid according the POSIX standard.
const String & absoluteName() const
Return the string which giving the absolute pathname.
String removeDots(const String &inString) const
Remove.
String itsAbsolutePathName
These variables are pointer to strings because the functions which use these variables are const func...
String: the storage and methods of handling collections of characters.
String baseName() const
Return the basename of the path; this is only the name of the file.
static String stripDirectory(const String &name, const String &otherName)
Strip otherName from this name.
static String addDirectory(const String &name, const String &otherName)
If the name starts with.
void getNextName(const String &inString, uInt &count) const
This function is used by expandName and absoluteName.
String makeAbsoluteName(const String &inString) const
This function is used by absoluteName to make a name absolute, this means that the name is described ...
void append(const String &string)
Append a string to the path name.