ParseDef implementation.
More...
|
bool | skipNode (Reader &reader_r) |
| Skip the current node. More...
|
|
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 94 of file ParseDef.cc.
zypp::xml::ParseDef::Impl::~Impl |
( |
| ) |
|
|
inline |
zypp::xml::ParseDef::Impl::_mode |
( |
mode_r |
| ) |
|
zypp::xml::ParseDef::Impl::_parent |
( |
NULL |
| ) |
|
|
inline |
bool zypp::xml::ParseDef::Impl::isOptional |
( |
| ) |
const |
|
inline |
bool zypp::xml::ParseDef::Impl::isMandatory |
( |
| ) |
const |
|
inline |
bool zypp::xml::ParseDef::Impl::singleDef |
( |
| ) |
const |
|
inline |
bool zypp::xml::ParseDef::Impl::multiDef |
( |
| ) |
const |
|
inline |
void zypp::xml::ParseDef::Impl::addNode |
( |
const ImplPtr & |
subnode_r | ) |
|
ImplPtr zypp::xml::ParseDef::Impl::getNode |
( |
const std::string & |
name_r | ) |
const |
|
inline |
void zypp::xml::ParseDef::Impl::take |
( |
Reader & |
reader_r | ) |
|
bool zypp::xml::ParseDef::Impl::skipNode |
( |
xml::Reader & |
reader_r | ) |
|
|
private |
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 329 of file ParseDef.cc.
std::string zypp::xml::ParseDef::Impl::exstr |
( |
const std::string & |
what_r, |
|
|
const Impl & |
impl_r |
|
) |
| const |
|
inlineprivate |
std::string zypp::xml::ParseDef::Impl::exstr |
( |
const std::string & |
what_r, |
|
|
const Impl & |
impl_r, |
|
|
const Reader & |
reader_r |
|
) |
| const |
|
inlineprivate |
std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const ParseDef::Impl & |
obj |
|
) |
| |
|
friend |
zypp::xml::ParseDef::Impl::__pad0__ |
std::string zypp::xml::ParseDef::Impl::_name |
Mode zypp::xml::ParseDef::Impl::_mode |
Impl* zypp::xml::ParseDef::Impl::_parent |
SubNodes zypp::xml::ParseDef::Impl::_subnodes |
The documentation for this class was generated from the following file: