Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
vfs_util.cpp File Reference
#include "precompiled.h"
#include "vfs_util.h"
#include "lib/code_annotation.h"
#include "lib/path.h"
#include "lib/regex.h"
#include "lib/secure_crt.h"
#include <algorithm>
#include <climits>
#include <queue>
#include <string>
#include <vector>
Include dependency graph for vfs_util.cpp:

Namespaces

namespace  vfs
 

Functions

Status vfs::GetPathnames (const PIVFS &fs, const VfsPath &path, const wchar_t *filter, VfsPaths &pathnames)
 
Status vfs::ForEachFile (const PIVFS &fs, const VfsPath &path, FileCallback cb, uintptr_t cbData, const wchar_t *pattern=0, size_t flags=0, DirCallback dircb=NULL, uintptr_t dircbData=0)
 call back for each file in a directory tree, and optionally each directory. More...
 
Status vfs::ForEachFileNext (ForEachFileContext &context, const PIVFS &fs, FileCallback cb, uintptr_t cbData, const wchar_t *pattern, size_t flags, DirCallback dircb, uintptr_t dircbData)
 
void vfs::NextNumberedFilename (const PIVFS &fs, const VfsPath &pathnameFormat, size_t &nextNumber, VfsPath &nextPathname)
 Determine the next available pathname with a given format. More...