#include <ders/config.hpp>
#include <vector>
#include <ders/text.hpp>
Go to the source code of this file.
Namespaces | |
namespace | ders |
Classes | |
struct | ders::path_elmt |
Path element for path processing functions. More... | |
Functions | |
void | ders::parse_path (mem_pool &mp, const ch_rng &path, std::vector< path_elmt > &ret) |
Splits path into path elements. | |
sh_text | ders::make_path (mem_pool &mp, const path_elmt *beg, const path_elmt *end, char spr=pathSepr) |
Creates path from path elements. | |
sh_text | ders::normalize_path (mem_pool &mp, const ch_rng &path) |
Normalizes path via applying parse_path() and make_path() functions. | |
sh_text | ders::get_path (mem_pool &mp, const ch_rng &path) |
Returns path part of the path. | |
sh_text | ders::get_name (mem_pool &mp, const ch_rng &path) |
Returns name part of the path. | |
Variables | |
const char | ders::pathSepr = '/' |
Implementation-dependant path separator. |
Definition in file path.hpp.