SVD reader with Boost property tree.
More...
#include <boost.hpp>
|
| using | ptree = boost::property_tree::ptree |
| |
| using | itr = ptree::iterator |
| |
SVD reader with Boost property tree.
- When you use this reader,you must add Boost library to include directories. note: Boost property tree is a header only library.
- See also
- https://www.boost.org/doc/libs/1_65_1/doc/html/property_tree.html
Definition at line 38 of file boost.hpp.
◆ itr
◆ ptree
◆ boost_svd_reader() [1/5]
| nodamushi::svd::boost_svd_reader::boost_svd_reader |
( |
| ) |
|
|
default |
◆ boost_svd_reader() [2/5]
| nodamushi::svd::boost_svd_reader::boost_svd_reader |
( |
ptree & |
t | ) |
|
|
inline |
◆ boost_svd_reader() [3/5]
◆ boost_svd_reader() [4/5]
| nodamushi::svd::boost_svd_reader::boost_svd_reader |
( |
const std::string & |
file_name, |
|
|
bool |
throw_error = false |
|
) |
| |
|
inline |
constructor with file name
- Parameters
-
| file_name | filename |
| throw_error | If this option is true, throw exception when file open failed / xml error found. |
- Exceptions
-
Definition at line 66 of file boost.hpp.
◆ boost_svd_reader() [5/5]
| nodamushi::svd::boost_svd_reader::boost_svd_reader |
( |
std::istream & |
file, |
|
|
bool |
throw_error = false |
|
) |
| |
|
inline |
constructor with std::istream
- Parameters
-
| file | file contents istream |
| throw_error | If this option is true, throw exception when file open failed / xml error found. |
- Exceptions
-
Definition at line 96 of file boost.hpp.
◆ get_name()
| string_ref nodamushi::svd::boost_svd_reader::get_name |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_value()
| string_ref nodamushi::svd::boost_svd_reader::get_value |
( |
| ) |
const |
|
inlinenoexcept |
◆ is_attribute()
| bool nodamushi::svd::boost_svd_reader::is_attribute |
( |
| ) |
const |
|
inlinenoexcept |
◆ next_child()
◆ ok()
| bool nodamushi::svd::boost_svd_reader::ok |
( |
| ) |
const |
|
inlinenoexcept |
file open / xml parse status
- Returns
- file open / xml parse status
Definition at line 120 of file boost.hpp.
◆ operator bool()
| nodamushi::svd::boost_svd_reader::operator bool |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: