Go to the documentation of this file.
18 #ifndef __LIB_LIBFS_FILESYSTEMPATH_H
19 #define __LIB_LIBFS_FILESYSTEMPATH_H
String m_parent
Full path to our parent.
Simple filesystem path parser.
const String & full() const
Get the full path as a String.
static const char DefaultSeparator
The default path separator character.
const String m_full
Full input path.
const String & base() const
The name of the last element in the path.
static const Size MaximumLength
Maximum length of a filesystem path in bytes.
const List< String > & split() const
Returns a List of separate path elements.
unsigned int Size
Any sane size indicator cannot go negative.
const String m_base
Last element in the full path.
const char m_separator
Separator character.
Size length() const
Get Length of our full path.
const String & parent() const
Retrieve the full path of our parent.
const List< String > m_path
The path split in pieces by the separator.
FileSystemPath(const char *path, const char separator=DefaultSeparator)
Constructor using char pointer.