Go to the documentation of this file.
18 #define FILE_ATTRIB_ARCHIVE 0x0020
19 #define FILE_ATTRIB_DIRECTORY 0x0010
time_t accessTime
Access and modification times.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
uint64_t fileSize
The size of the file in bytes.
std::deque< TFileInfo > TFileInfoList
The list type used in "explore".
This class allows the enumeration of the files/directories that exist into a given path.
unsigned __int64 uint64_t
std::string name
The file name (without the whole path).
GLsizei const GLchar ** string
This represents the information about each file.
static void filterByExtension(TFileInfoList &lstFiles, const std::string &extension)
Remove from the list of files those whose extension does not coincide (without case) with the given o...
static void sortByName(TFileInfoList &lstFiles, bool ascendingOrder=true)
Sort the file entries by name, in ascending or descending order.
static void explore(const std::string &path, const unsigned long mask, TFileInfoList &outList)
The path of the directory to examine must be passed to this constructor, among the According to the f...
std::string wholePath
The whole file path.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |