resolver Class Reference
Description
Simple class for resolving paths on Linux/Windows/Mac OS.
This convenience class looks for a file or directory given its name and a set of search paths. The implementation walks through the search paths in order and stops once the file is found.
#include <resolver.h>
Public Types | |
typedef std::vector< path >::iterator | iterator |
typedef std::vector< path >::const_iterator | const_iterator |
Public Member Functions | |
size_t | size () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | erase (iterator it) |
void | prepend (const path &path) |
void | append (const path &path) |
const path & | operator[] (size_t index) const |
path & | operator[] (size_t index) |
path | resolve (const path &value) const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const resolver &r) |
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_thirdparty/filesystem/resolver.h