Go to the documentation of this file.
18 return *pNode1 < *pNode2;
56 std::auto_ptr<Node> pNode(
new Node);
93 for(std::size_t i=0;i<
m_seqData.size();i++)
100 it->first->EmitEvents(am, eventHandler);
101 it->second->EmitEvents(am, eventHandler);
241 for(std::size_t i=0;i<
m_seqData.size();i++)
250 node_map::const_iterator it =
m_mapData.begin();
251 node_map::const_iterator jt = rhs.
m_mapData.begin();
253 if(
int cmp = it->first->Compare(*jt->first))
255 if(
int cmp = it->second->Compare(*jt->second))
int Compare(const Node &rhs) const
void SetScalarData(const std::string &data)
bool GetScalar(std::string &s) const
virtual void OnSequenceStart(const Mark &mark, const std::string &tag, anchor_t anchor)=0
std::auto_ptr< Node > Clone() const
void Init(NodeType::value type, const Mark &mark, const std::string &tag)
virtual void OnDocumentStart(const Mark &mark)=0
anchor_t LookupAnchor(const Node &node) const
bool operator()(const Node *pNode1, const Node *pNode2) const
const anchor_t NullAnchor
virtual void OnSequenceEnd()=0
virtual void OnScalar(const Mark &mark, const std::string &tag, anchor_t anchor, const std::string &value)=0
void EmitEvents(EventHandler &eventHandler) const
std::auto_ptr< NodeOwnership > m_pOwnership
virtual void OnAlias(const Mark &mark, anchor_t anchor)=0
const Node * FindAtIndex(std::size_t i) const
Emitter & operator<<(Emitter &emitter, const std::string &v)
virtual void OnNull(const Mark &mark, anchor_t anchor)=0
void RegisterReference(const Node &node)
bool operator<(const Node &n1, const Node &n2)
void Insert(Node &key, Node &value)
virtual void OnDocumentEnd()=0
virtual void OnMapEnd()=0
virtual void OnMapStart(const Mark &mark, const std::string &tag, anchor_t anchor)=0
mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:59