Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
vfs_path.h File Reference
#include "lib/path.h"
#include <vector>
Include dependency graph for vfs_path.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef Path VfsPath
 VFS path of the form "(dir/)*file?". More...
 
typedef std::vector< VfsPathVfsPaths
 

Typedef Documentation

◆ VfsPath

typedef Path VfsPath

VFS path of the form "(dir/)*file?".

in other words: the root directory is "" and paths are separated by '/'. a trailing slash is allowed for directory names. rationale: it is important to avoid a leading slash because that might be confused with an absolute POSIX path.

there is no restriction on path length; when dimensioning character arrays, prefer PATH_MAX.

◆ VfsPaths

typedef std::vector<VfsPath> VfsPaths