ParseDef implementation.
More...
|
bool | skipNode (Reader &reader_r) |
| Skip the current node.
|
std::string | exstr (const std::string &what_r, const Impl &impl_r) const |
std::string | exstr (const std::string &what_r, const Impl &impl_r, const Reader &reader_r) const |
ParseDef implementation.
- Todo
- Check using share_ptr_from_this for parent in addNode.
Definition at line 95 of file ParseDef.cc.
◆ ImplPtr
◆ SubNodes
◆ Impl() [1/3]
◆ Impl() [2/3]
zypp::xml::ParseDef::Impl::Impl |
( |
const Impl & | | ) |
|
|
default |
◆ Impl() [3/3]
zypp::xml::ParseDef::Impl::Impl |
( |
Impl && | | ) |
|
|
delete |
◆ ~Impl()
zypp::xml::ParseDef::Impl::~Impl |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
Impl & zypp::xml::ParseDef::Impl::operator= |
( |
const Impl & | | ) |
|
|
delete |
◆ operator=() [2/2]
Impl & zypp::xml::ParseDef::Impl::operator= |
( |
Impl && | | ) |
|
|
delete |
◆ isOptional()
bool zypp::xml::ParseDef::Impl::isOptional |
( |
| ) |
const |
|
inline |
◆ isMandatory()
bool zypp::xml::ParseDef::Impl::isMandatory |
( |
| ) |
const |
|
inline |
◆ singleDef()
bool zypp::xml::ParseDef::Impl::singleDef |
( |
| ) |
const |
|
inline |
◆ multiDef()
bool zypp::xml::ParseDef::Impl::multiDef |
( |
| ) |
const |
|
inline |
◆ addNode()
void zypp::xml::ParseDef::Impl::addNode |
( |
const ImplPtr & | subnode_r | ) |
|
◆ getNode()
ImplPtr zypp::xml::ParseDef::Impl::getNode |
( |
const std::string & | name_r | ) |
const |
|
inline |
◆ take()
void zypp::xml::ParseDef::Impl::take |
( |
Reader & | reader_r | ) |
|
◆ skipNode()
Skip the current node.
- Precondition
- Current node must be XML_READER_TYPE_ELEMENT.
- Postcondition
- At the corresponding end node. (XML_READER_TYPE_END_ELEMENT or atill at the same node, if it'a an empty element <node />).
- Returns
- last call to xml::Reader::nextNode.
- Exceptions
-
Definition at line 334 of file ParseDef.cc.
◆ exstr() [1/2]
std::string zypp::xml::ParseDef::Impl::exstr |
( |
const std::string & | what_r, |
|
|
const Impl & | impl_r ) const |
|
inlineprivate |
◆ exstr() [2/2]
std::string zypp::xml::ParseDef::Impl::exstr |
( |
const std::string & | what_r, |
|
|
const Impl & | impl_r, |
|
|
const Reader & | reader_r ) const |
|
inlineprivate |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | str, |
|
|
const ParseDef::Impl & | obj ) |
|
friend |
◆ _name
std::string zypp::xml::ParseDef::Impl::_name |
◆ _mode
Mode zypp::xml::ParseDef::Impl::_mode |
◆ _visited
◆ _parent
Impl* zypp::xml::ParseDef::Impl::_parent |
◆ _subnodes
SubNodes zypp::xml::ParseDef::Impl::_subnodes |
◆ _callback
◆ _parseDepth
The documentation for this class was generated from the following file: