44 Log::error(
"VirtualDirectory::setPath() given an empty path.\n");
virtual bool setPath(const String &path)
Changes the path name of a VirtualDirectory. Must not be an empty string.
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
static void error(const String &message)
Use this function to provide information about run-time errors: file not found, out of memory...
String & normalizeSlashes()
Transform \ slashes in / slashes and removes duplicates.
String & trim(wchar_t ch)
Removes the specified character ch from the beginning and the end of the String.
Visualization Library main namespace.
virtual const String & path() const
bool empty() const
Returns true if length() == 0.
bool startsWith(const String &str) const
Returns true if a String starts with the specified String str.
String right(int count) const
Returns the count rightmost caracters of a String. If count is negative the function returns all but ...
bool endsWith(const String &str) const
Returns true if a String ends with the specified String str.
String translatePath(const String &p) const