32 #ifndef VirtualDirectory_INCUDE_ONCE 33 #define VirtualDirectory_INCUDE_ONCE 70 virtual bool setPath(
const String& path);
82 virtual void listFilesRecursive(std::vector<String>& file_list)
const = 0;
88 listFilesRecursive(file_list);
93 virtual void listFiles(std::vector<String>& file_list,
bool append=
false)
const = 0;
95 virtual void listSubDirs(std::vector<String>& dirs,
bool append=
false)
const = 0;
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
Visualization Library main namespace.
virtual const String & path() const
The base class for all the reference counted objects.
Abstact class representing a directory of files.
static void filterStrings(std::vector< String > &strings, const String &filter)
Filters the specified Strings using the given filter. The filter must be of the type "*abc"...
#define VL_INSTRUMENT_ABSTRACT_CLASS(ClassName, BaseClass)
VirtualDirectory(const String &path)
Constructor.
virtual void listFilesRecursive(std::vector< String > &file_list, const String &match) const
Returns the list of files contained in the VirtualDirectory that match the expression 'match'...
The ref<> class is used to reference-count an Object.
bool fileExists(const String &name) const
Checks the existence of a file in the directory.
VirtualDirectory()
Constructor.