#include "string/string.h"
#include "os/path.h"
#include <string>
#include <map>
Go to the source code of this file.
Data Structures | |
class | GenericFileSystem< file_type > |
A generic unix-style file-system which maps paths to files and directories. Provides average O(log n) find and insert methods. More... | |
class | GenericFileSystem< file_type >::Path |
class | GenericFileSystem< file_type >::Entry |
Defines | |
#define | INCLUDED_FS_FILESYSTEM_H |
Functions | |
unsigned int | path_get_depth (const std::string &path) |
const char * | path_remove_directory (const char *path) |
Returns a pointer to the first character of the component of path following the first directory component. O(n). |
#define INCLUDED_FS_FILESYSTEM_H |
Definition at line 23 of file fs_filesystem.h.
unsigned int path_get_depth | ( | const std::string & | path | ) | [inline] |
Definition at line 31 of file fs_filesystem.h.
Referenced by GenericFileSystem< ZipRecord >::traverse().
const char* path_remove_directory | ( | const char * | path | ) | [inline] |
Returns a pointer to the first character of the component of path
following the first directory component. O(n).
Definition at line 47 of file fs_filesystem.h.
Referenced by GenericFileSystem< ZipRecord >::operator[]().