1#if !defined(RESIP_XMLCURSOR_HXX)
2#define RESIP_XMLCURSOR_HXX
142 bool operator()(
const std::pair<const Data, Data>& data) {
return data.second == data_; }
147 static void decode(
Data&);
148 static void decodeName(
Data&);
150 void parseNextRootChild();
153 std::unique_ptr<Node> mRoot;
168 mutable bool mAttributesSet;
187 std::vector<Node*>::const_iterator
mNext;
Wraps your platform's implementation of hash_map, hash_multimap, and hash_set.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
A hash map that iterates in insertion order, so a container filled while parsing (eg.
Provides string-parsing functionality with protection from buffer overflow.
AttributeValueEqual(const Data &data)
bool operator()(const std::pair< const Data, Data > &data)
void skipToEndTag(unsigned int depth)
std::vector< Node * > mChildren
friend EncodeStream & operator<<(EncodeStream &str, const XMLCursor &cursor)
static const char * skipComments(ParseBuffer &pb)
std::vector< Node * >::const_iterator mNext
const Data & getValue() const
friend EncodeStream & operator<<(EncodeStream &, const XMLCursor::Node &)
static constexpr size_t MaxAttributes
getAttributes() fails (ParseException) an element with more attributes than this
const Data & getTag() const
const AttributeMap & getAttributes() const
LinkedHashMap< Data, Data, KeyedDataHash > AttributeMap
static EncodeStream & encode(EncodeStream &strm, const AttributeMap &attrs)
friend EncodeStream & operator<<(EncodeStream &, const XMLCursor &)
static constexpr unsigned int MaxNestingDepth
Parsing fails (ParseException) a document with elements nested more than this many levels below the r...
dcm! – add UnusedChecking(_enum) below;
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)