Go to the documentation of this file.
28 #ifndef __FileSystem_H__
29 #define __FileSystem_H__
64 void findFiles(
const String& pattern,
bool recursive,
bool dirs,
73 bool isCaseSensitive(
void)
const;
87 void remove(
const String& filename)
const;
101 bool dirs =
false)
const;
104 bool exists(
const String& filename);
107 time_t getModifiedTime(
const String& filename);
114 msIgnoreHidden = ignore;
120 return msIgnoreHidden;
132 const String& getType(
void)
const;
149 #endif // __FileSystem_H__
Specialisation of ArchiveFactory for FileSystem files.
vector< String >::type StringVector
Abstract factory class, archive codec plugins can register concrete subclasses of this.
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
static void setIgnoreHidden(bool ignore)
Set whether filesystem enumeration will include hidden files or not.
void destroyInstance(Archive *ptr)
Destroys an object which was created by this factory.
static bool getIgnoreHidden()
Get whether hidden files are ignored during filesystem enumeration.
Specialisation of the Archive class to allow reading of files from filesystem folders / directories.
vector< FileInfo >::type FileInfoList
static bool msIgnoreHidden
virtual ~FileSystemArchiveFactory()
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15