#include <jstream.h>
|
| static std::string | to_stdstr (std::vector< char > const &vec) |
| |
◆ Reader() [1/3]
| jstream::Reader::Reader |
( |
std::string_view const & |
sv | ) |
|
|
inline |
◆ Reader() [2/3]
| jstream::Reader::Reader |
( |
char const * |
begin, |
|
|
char const * |
end |
|
) |
| |
|
inline |
◆ Reader() [3/3]
| jstream::Reader::Reader |
( |
char const * |
ptr, |
|
|
int |
len = -1 |
|
) |
| |
|
inline |
◆ _internal_next()
| bool jstream::Reader::_internal_next |
( |
| ) |
|
|
inlineprivate |
◆ allow_ambiguous_comma()
| void jstream::Reader::allow_ambiguous_comma |
( |
bool |
allow | ) |
|
|
inline |
◆ allow_comment()
| void jstream::Reader::allow_comment |
( |
bool |
allow | ) |
|
|
inline |
◆ allow_hexadicimal()
| void jstream::Reader::allow_hexadicimal |
( |
bool |
allow | ) |
|
|
inline |
◆ allow_special_constant()
| void jstream::Reader::allow_special_constant |
( |
bool |
allow | ) |
|
|
inline |
◆ allow_unquoted_key()
| void jstream::Reader::allow_unquoted_key |
( |
bool |
allow | ) |
|
|
inline |
◆ depth()
| int jstream::Reader::depth |
( |
| ) |
const |
|
inline |
◆ errors()
| std::vector<Error> const& jstream::Reader::errors |
( |
| ) |
const |
|
inline |
◆ has_error()
| bool jstream::Reader::has_error |
( |
| ) |
const |
|
inline |
◆ hold()
| void jstream::Reader::hold |
( |
| ) |
|
|
inline |
◆ is_end_array()
| bool jstream::Reader::is_end_array |
( |
| ) |
const |
|
inline |
◆ is_end_object()
| bool jstream::Reader::is_end_object |
( |
| ) |
const |
|
inline |
◆ is_start_array()
| bool jstream::Reader::is_start_array |
( |
| ) |
const |
|
inline |
◆ is_start_object()
| bool jstream::Reader::is_start_object |
( |
| ) |
const |
|
inline |
◆ isarray()
| bool jstream::Reader::isarray |
( |
| ) |
const |
|
inline |
◆ isfalse()
| bool jstream::Reader::isfalse |
( |
| ) |
const |
|
inline |
◆ isnull()
| bool jstream::Reader::isnull |
( |
| ) |
const |
|
inline |
◆ isnumber()
| bool jstream::Reader::isnumber |
( |
| ) |
const |
|
inline |
◆ isobject()
| bool jstream::Reader::isobject |
( |
| ) |
const |
|
inline |
◆ isstring()
| bool jstream::Reader::isstring |
( |
| ) |
const |
|
inline |
◆ istrue()
| bool jstream::Reader::istrue |
( |
| ) |
const |
|
inline |
◆ isvalue()
| bool jstream::Reader::isvalue |
( |
| ) |
const |
|
inline |
◆ key()
| std::string jstream::Reader::key |
( |
| ) |
const |
|
inline |
◆ match()
| bool jstream::Reader::match |
( |
char const * |
path, |
|
|
std::vector< std::string > * |
vals = nullptr, |
|
|
bool |
clear = true |
|
) |
| const |
|
inline |
◆ match_end_array()
| bool jstream::Reader::match_end_array |
( |
char const * |
path | ) |
const |
|
inline |
◆ match_end_object()
| bool jstream::Reader::match_end_object |
( |
char const * |
path | ) |
const |
|
inline |
◆ match_start_array()
| bool jstream::Reader::match_start_array |
( |
char const * |
path | ) |
const |
|
inline |
◆ match_start_object()
| bool jstream::Reader::match_start_object |
( |
char const * |
path | ) |
const |
|
inline |
◆ nest()
| void jstream::Reader::nest |
( |
| ) |
|
|
inline |
◆ next()
| bool jstream::Reader::next |
( |
| ) |
|
|
inline |
◆ number()
| double jstream::Reader::number |
( |
| ) |
const |
|
inline |
◆ parse() [1/3]
| void jstream::Reader::parse |
( |
char const * |
begin, |
|
|
char const * |
end |
|
) |
| |
|
inlineprivate |
◆ parse() [2/3]
| void jstream::Reader::parse |
( |
char const * |
ptr, |
|
|
int |
len = -1 |
|
) |
| |
|
inlineprivate |
◆ parse() [3/3]
| void jstream::Reader::parse |
( |
std::string_view const & |
sv | ) |
|
|
inlineprivate |
◆ parse_number()
| int jstream::Reader::parse_number |
( |
char const * |
begin, |
|
|
char const * |
end, |
|
|
double * |
out |
|
) |
| |
|
inlineprivate |
◆ parse_string()
| int jstream::Reader::parse_string |
( |
char const * |
begin, |
|
|
char const * |
end, |
|
|
std::string * |
out |
|
) |
| |
|
inlineprivate |
◆ parse_symbol()
| int jstream::Reader::parse_symbol |
( |
char const * |
begin, |
|
|
char const * |
end, |
|
|
std::string * |
out |
|
) |
| |
|
inlineprivate |
◆ path()
| std::string jstream::Reader::path |
( |
| ) |
const |
|
inline |
◆ pop_state()
| bool jstream::Reader::pop_state |
( |
| ) |
|
|
inlineprivate |
◆ push_error()
| void jstream::Reader::push_error |
( |
std::string const & |
what | ) |
|
|
inlineprivate |
◆ push_state()
| void jstream::Reader::push_state |
( |
StateItem |
s | ) |
|
|
inlineprivate |
◆ raw()
| std::string_view jstream::Reader::raw |
( |
| ) |
|
|
inline |
◆ reset()
| void jstream::Reader::reset |
( |
| ) |
|
|
inline |
◆ scan_space()
| int jstream::Reader::scan_space |
( |
char const * |
begin, |
|
|
char const * |
end |
|
) |
| |
|
inlineprivate |
◆ state()
◆ string()
| std::string jstream::Reader::string |
( |
| ) |
const |
|
inline |
◆ symbol()
◆ to_stdstr()
| static std::string jstream::Reader::to_stdstr |
( |
std::vector< char > const & |
vec | ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following file: