|
| path (std::string first, path const &remainder) |
|
| path (std::vector< std::string > elements) |
|
| path (std::vector< path > paths_to_concat) |
|
shared_string | first () const |
|
path | remainder () const |
| Returns the path minus the first element, or null if no more elements. More...
|
|
path | parent () const |
| Returns the path minus the last element or null if we have just one element. More...
|
|
bool | has_remainder () const |
|
bool | empty () const |
|
shared_string | last () const |
|
path | prepend (path prefix) |
|
int | length () const |
|
path | sub_path (int remove_from_front) |
|
path | sub_path (int start_index, int end_index) |
|
bool | starts_with (path other) const |
|
bool | operator== (path const &other) const |
|
bool | operator!= (path const &other) const |
|
void | append_to_string (std::string &base) const |
|
std::string | to_string () const |
| For debugging. More...
|
|
std::string | render () const |
| Human-readable error-message-oriented string representation of path. More...
|
|
|
static bool | has_funky_chars (std::string const &s) |
| Signals whether quotes and other noise need to be removed/ignored. More...
|
|
static path | new_key (std::string key) |
|
static path | new_path (std::string path) |
|
Definition at line 13 of file path.hpp.
◆ has_funky_chars()
static bool hocon::path::has_funky_chars |
( |
std::string const & |
s | ) |
|
|
static |
Signals whether quotes and other noise need to be removed/ignored.
◆ parent()
path hocon::path::parent |
( |
| ) |
const |
Returns the path minus the last element or null if we have just one element.
◆ remainder()
path hocon::path::remainder |
( |
| ) |
const |
Returns the path minus the first element, or null if no more elements.
◆ render()
std::string hocon::path::render |
( |
| ) |
const |
Human-readable error-message-oriented string representation of path.
◆ to_string()
std::string hocon::path::to_string |
( |
| ) |
const |
The documentation for this class was generated from the following file: