|
NSVD Reader
0.0.1
|
XML element class for stream type parser. More...
#include <svd_reader.hpp>

Public Member Functions | |
| stream_reader_element (const std::string &n, CallBack *f) | |
| stream_reader_element (std::string &&n, CallBack *f) | |
| bool | is_attribute () const |
| string_ref | get_name () const |
| string_ref | get_value () |
| stream_reader_element & | next_child () |
| operator bool () | |
| void | set_callback (CallBack *cb) |
| void | close () |
| void | set_value (const std::string &s) |
| void | add_value (const std::string &s) |
| void | add_value (const char *s, size_t size) |
| void | add_attribute (const std::string &name, const std::string &value) |
| void | add_attribute (std::string &&name, std::string &&value) |
| stream_reader_element & | add_child (std::string &&name) |
| stream_reader_element & | add_child (const std::string &name) |
| stream_reader_element * | get_active_open_element () |
| constexpr bool | is_closed () const |
| stream_reader_element (const std::string &n, const std::string &val, bool attr, CallBack *f) | |
| stream_reader_element (std::string &&n, std::string &&val, bool attr, CallBack *f) | |
XML element class for stream type parser.
| CallBack | callback function to create values. when get_value() is called,CallBack will be called. |
Definition at line 178 of file svd_reader.hpp.
|
inline |
Definition at line 180 of file svd_reader.hpp.
|
inline |
Definition at line 184 of file svd_reader.hpp.
|
inline |
Definition at line 308 of file svd_reader.hpp.
|
inline |
Definition at line 318 of file svd_reader.hpp.
|
inline |
add attribute data
Definition at line 259 of file svd_reader.hpp.
|
inline |
add attribute data
Definition at line 266 of file svd_reader.hpp.
|
inline |
add child
Definition at line 274 of file svd_reader.hpp.
|
inline |
add child
Definition at line 283 of file svd_reader.hpp.
|
inline |
add constents text.
Definition at line 247 of file svd_reader.hpp.
|
inline |
add constents text.
Definition at line 253 of file svd_reader.hpp.
|
inline |
Close this tag and trim this contents text.
Definition at line 229 of file svd_reader.hpp.
|
inline |
get current target element.
Definition at line 293 of file svd_reader.hpp.
|
inline |
Definition at line 190 of file svd_reader.hpp.
|
inline |
Definition at line 191 of file svd_reader.hpp.
|
inline |
Definition at line 189 of file svd_reader.hpp.
|
inline |
Definition at line 303 of file svd_reader.hpp.
|
inline |
Definition at line 198 of file svd_reader.hpp.
|
inline |
Definition at line 202 of file svd_reader.hpp.
|
inline |
reset callback object
Definition at line 219 of file svd_reader.hpp.
|
inline |
set constents text.
Definition at line 241 of file svd_reader.hpp.