#include <node.h>
Public Member Functions | |
Iterator | begin () const |
void | Clear () |
std::auto_ptr< Node > | Clone () const |
int | Compare (const Node &rhs) const |
void | EmitEvents (EventHandler &eventHandler) const |
void | EmitEvents (AliasManager &am, EventHandler &eventHandler) const |
Iterator | end () const |
template<typename T > | |
const Node * | FindValue (const T &key) const |
const Node * | FindValue (const char *key) const |
const Node * | FindValue (char *key) const |
const Mark | GetMark () const |
bool | GetScalar (std::string &s) const |
bool | IsAliased () const |
Node () | |
template<typename T > | |
const Node & | operator[] (const T &key) const |
const Node & | operator[] (const char *key) const |
const Node & | operator[] (char *key) const |
template<typename T > | |
bool | Read (T &value) const |
std::size_t | size () const |
const std::string & | Tag () const |
template<typename T > | |
const T | to () const |
NodeType::value | Type () const |
~Node () | |
Private Types | |
typedef std::map< Node *, Node *, ltnode > | node_map |
typedef std::vector< Node * > | node_seq |
Private Member Functions | |
void | Append (Node &node) |
Node & | CreateNode () |
const Node * | FindAtIndex (std::size_t i) const |
template<typename T > | |
const Node * | FindValueForKey (const T &key) const |
template<typename T > | |
const Node & | GetValue (const T &key) const |
void | Init (NodeType::value type, const Mark &mark, const std::string &tag) |
void | Insert (Node &key, Node &value) |
void | MarkAsAliased () |
Node (NodeOwnership &owner) | |
void | SetScalarData (const std::string &data) |
Private Attributes | |
node_map | m_mapData |
Mark | m_mark |
std::auto_ptr< NodeOwnership > | m_pOwnership |
std::string | m_scalarData |
node_seq | m_seqData |
std::string | m_tag |
NodeType::value | m_type |
Friends | |
struct | _FindFromNodeAtIndex |
class | NodeBuilder |
class | NodeOwnership |
bool | operator< (const Node &n1, const Node &n2) |
YAML_CPP_API Emitter & | operator<< (Emitter &out, const Node &node) |
template<typename T > | |
YAML_CPP_API enable_if < is_scalar_convertible< T > >::type | operator>> (const Node &node, T &value) |
typedef std::map<Node *, Node *, ltnode> YAML_PM::Node::node_map [private] |
typedef std::vector<Node *> YAML_PM::Node::node_seq [private] |
YAML_PM::Node::Node | ( | NodeOwnership & | owner | ) | [explicit, private] |
void YAML_PM::Node::Append | ( | Node & | node | ) | [private] |
Iterator YAML_PM::Node::begin | ( | ) | const |
void YAML_PM::Node::Clear | ( | ) |
std::auto_ptr< Node > YAML_PM::Node::Clone | ( | ) | const |
int YAML_PM::Node::Compare | ( | const Node & | rhs | ) | const |
Node & YAML_PM::Node::CreateNode | ( | ) | [private] |
void YAML_PM::Node::EmitEvents | ( | EventHandler & | eventHandler | ) | const |
void YAML_PM::Node::EmitEvents | ( | AliasManager & | am, |
EventHandler & | eventHandler | ||
) | const |
Iterator YAML_PM::Node::end | ( | ) | const |
const Node * YAML_PM::Node::FindAtIndex | ( | std::size_t | i | ) | const [private] |
const Node * YAML_PM::Node::FindValue | ( | const T & | key | ) | const [inline] |
Definition at line 29 of file nodeimpl.h.
const Node * YAML_PM::Node::FindValue | ( | const char * | key | ) | const [inline] |
Definition at line 68 of file nodeimpl.h.
const Node * YAML_PM::Node::FindValue | ( | char * | key | ) | const [inline] |
Definition at line 72 of file nodeimpl.h.
const Node * YAML_PM::Node::FindValueForKey | ( | const T & | key | ) | const [inline, private] |
Definition at line 44 of file nodeimpl.h.
const Mark YAML_PM::Node::GetMark | ( | ) | const [inline] |
bool YAML_PM::Node::GetScalar | ( | std::string & | s | ) | const |
const Node & YAML_PM::Node::GetValue | ( | const T & | key | ) | const [inline, private] |
Definition at line 57 of file nodeimpl.h.
void YAML_PM::Node::Init | ( | NodeType::value | type, |
const Mark & | mark, | ||
const std::string & | tag | ||
) | [private] |
void YAML_PM::Node::Insert | ( | Node & | key, |
Node & | value | ||
) | [private] |
bool YAML_PM::Node::IsAliased | ( | ) | const |
void YAML_PM::Node::MarkAsAliased | ( | ) | [private] |
const Node & YAML_PM::Node::operator[] | ( | const T & | key | ) | const [inline] |
Definition at line 64 of file nodeimpl.h.
const Node & YAML_PM::Node::operator[] | ( | const char * | key | ) | const [inline] |
Definition at line 76 of file nodeimpl.h.
const Node & YAML_PM::Node::operator[] | ( | char * | key | ) | const [inline] |
Definition at line 80 of file nodeimpl.h.
bool YAML_PM::Node::Read | ( | T & | value | ) | const [inline] |
Definition at line 68 of file nodereadimpl.h.
void YAML_PM::Node::SetScalarData | ( | const std::string & | data | ) | [private] |
std::size_t YAML_PM::Node::size | ( | ) | const |
const std::string& YAML_PM::Node::Tag | ( | ) | const [inline] |
const T YAML_PM::Node::to | ( | ) | const [inline] |
Definition at line 16 of file nodeimpl.h.
NodeType::value YAML_PM::Node::Type | ( | ) | const [inline] |
friend struct _FindFromNodeAtIndex [friend] |
friend class NodeBuilder [friend] |
friend class NodeOwnership [friend] |
YAML_CPP_API Emitter& operator<< | ( | Emitter & | out, |
const Node & | node | ||
) | [friend] |
YAML_CPP_API enable_if<is_scalar_convertible<T> >::type operator>> | ( | const Node & | node, |
T & | value | ||
) | [friend] |
Definition at line 23 of file nodeimpl.h.
node_map YAML_PM::Node::m_mapData [private] |
Mark YAML_PM::Node::m_mark [private] |
std::auto_ptr<NodeOwnership> YAML_PM::Node::m_pOwnership [private] |
std::string YAML_PM::Node::m_scalarData [private] |
node_seq YAML_PM::Node::m_seqData [private] |
std::string YAML_PM::Node::m_tag [private] |
NodeType::value YAML_PM::Node::m_type [private] |