MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / to_string

Function to_string

extern/json/json.hpp:13787–13795  ·  view source on GitHub ↗

@brief return a string representation of the JSON pointer @sa https://json.nlohmann.me/api/json_pointer/to_string/

Source from the content-addressed store, hash-verified

13785 /// @brief return a string representation of the JSON pointer
13786 /// @sa https://json.nlohmann.me/api/json_pointer/to_string/
13787 string_t to_string() const
13788 {
13789 return std::accumulate(reference_tokens.begin(), reference_tokens.end(),
13790 string_t{},
13791 [](const string_t& a, const string_t& b)
13792 {
13793 return detail::concat(a, '/', detail::escape(b));
13794 });
13795 }
13796
13797 /// @brief return a string representation of the JSON pointer
13798 /// @sa https://json.nlohmann.me/api/json_pointer/operator_string/

Callers 15

nameMethod · 0.70
diagnosticsMethod · 0.70
createMethod · 0.70
position_stringMethod · 0.70
int_to_stringFunction · 0.70
start_objectFunction · 0.70
start_arrayFunction · 0.70
start_objectMethod · 0.70
start_arrayMethod · 0.70
get_bson_stringMethod · 0.70
get_bson_binaryMethod · 0.70
json.hppFile · 0.70

Calls 4

escapeFunction · 0.85
concatFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected