Github   Telegram
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
path.hpp File Reference

Document/array element path storage. More...

#include <string>
#include <string_view>
+ Include dependency graph for path.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  formats::common::Path
 Document/array element path storage. More...
 

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::common
 Common utilities for all the formats.
 

Functions

std::string formats::common::GetIndexString (size_t index)
 Returns string of [idx], e.g. "[0]" or "[1025]".
 
void formats::common::AppendPath (std::string &path, std::string_view key)
 
void formats::common::AppendPath (std::string &path, std::size_t index)
 
std::string formats::common::MakeChildPath (std::string_view parent, std::string_view key)
 
std::string formats::common::MakeChildPath (std::string_view parent, std::size_t index)
 

Variables

constexpr char formats::common::kPathSeparator = '.'
 
constexpr char formats::common::kPathRoot [] = "/"
 
constexpr char formats::common::kPathPrefixSeparator [] = ":/"
 

Detailed Description

Document/array element path storage.

Definition in file path.hpp.