YAML::Node Class Reference
#include <node.h>
List of all members.
Public Member Functions |
| Iterator | begin () const |
| void | Clear () |
| std::auto_ptr< Node > | Clone () const |
| int | Compare (const Node &rhs) const |
| Iterator | end () const |
| const Node * | FindValue (const char *key) const |
| template<typename T > |
| const Node * | FindValue (const T &key) const |
| const Mark | GetMark () const |
| bool | GetScalar (std::string &s) const |
| const std::string | GetTag () const |
| CONTENT_TYPE | GetType () const |
| const Node * | Identity () const |
| bool | IsAlias () const |
| bool | IsReferenced () const |
| | Node () |
| template<typename T > |
| | operator T () const |
| const Node & | operator[] (const char *key) const |
| template<typename T > |
| const Node & | operator[] (const T &key) const |
| void | Parse (Scanner *pScanner, ParserState &state) |
| template<typename T > |
| const T | Read () const |
| template<typename T > |
| bool | Read (T &value) const |
| std::size_t | size () const |
| | ~Node () |
Private Member Functions |
| 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 |
| | Node (const Mark &mark, const std::string &anchor, const std::string &tag, const Content *pContent) |
| void | ParseAlias (Scanner *pScanner, ParserState &state) |
| void | ParseAnchor (Scanner *pScanner, ParserState &state) |
| void | ParseHeader (Scanner *pScanner, ParserState &state) |
| void | ParseTag (Scanner *pScanner, ParserState &state) |
Private Attributes |
| bool | m_alias |
| std::string | m_anchor |
| Mark | m_mark |
| Content * | m_pContent |
| const Node * | m_pIdentity |
| bool | m_referenced |
| std::string | m_tag |
Friends |
| struct | _FindFromNodeAtIndex |
| bool | operator< (const Node &n1, const Node &n2) |
| Emitter & | operator<< (Emitter &out, const Node &node) |
| template<typename T > |
| void | operator>> (const Node &node, T &value) |
Detailed Description
Definition at line 20 of file node.h.
Constructor & Destructor Documentation
| YAML::Node::Node |
( |
const Mark & |
mark, |
|
|
const std::string & |
anchor, |
|
|
const std::string & |
tag, |
|
|
const Content * |
pContent | |
|
) |
| | [private] |
Member Function Documentation
| void YAML::Node::Clear |
( |
|
) |
|
| std::auto_ptr<Node> YAML::Node::Clone |
( |
|
) |
const |
| int YAML::Node::Compare |
( |
const Node & |
rhs |
) |
const |
| const Node* YAML::Node::FindAtIndex |
( |
std::size_t |
i |
) |
const [private] |
| const Node * YAML::Node::FindValue |
( |
const char * |
key |
) |
const [inline] |
template<typename T >
| const Node * YAML::Node::FindValue |
( |
const T & |
key |
) |
const [inline] |
template<typename T >
| const Node * YAML::Node::FindValueForKey |
( |
const T & |
key |
) |
const [inline, private] |
| const Mark YAML::Node::GetMark |
( |
|
) |
const [inline] |
| bool YAML::Node::GetScalar |
( |
std::string & |
s |
) |
const |
| const std::string YAML::Node::GetTag |
( |
|
) |
const [inline] |
template<typename T >
| const Node & YAML::Node::GetValue |
( |
const T & |
key |
) |
const [inline, private] |
| const Node* YAML::Node::Identity |
( |
|
) |
const [inline] |
| bool YAML::Node::IsAlias |
( |
|
) |
const [inline] |
| bool YAML::Node::IsReferenced |
( |
|
) |
const [inline] |
template<typename T >
| YAML::Node::operator T |
( |
|
) |
const [inline] |
| const Node & YAML::Node::operator[] |
( |
const char * |
key |
) |
const [inline] |
template<typename T >
| const Node & YAML::Node::operator[] |
( |
const T & |
key |
) |
const [inline] |
| void YAML::Node::Parse |
( |
Scanner * |
pScanner, |
|
|
ParserState & |
state | |
|
) |
| | |
| void YAML::Node::ParseAlias |
( |
Scanner * |
pScanner, |
|
|
ParserState & |
state | |
|
) |
| | [private] |
| void YAML::Node::ParseAnchor |
( |
Scanner * |
pScanner, |
|
|
ParserState & |
state | |
|
) |
| | [private] |
| void YAML::Node::ParseHeader |
( |
Scanner * |
pScanner, |
|
|
ParserState & |
state | |
|
) |
| | [private] |
| void YAML::Node::ParseTag |
( |
Scanner * |
pScanner, |
|
|
ParserState & |
state | |
|
) |
| | [private] |
template<typename T >
| const T YAML::Node::Read |
( |
|
) |
const [inline] |
template<typename T >
| bool YAML::Node::Read |
( |
T & |
value |
) |
const [inline] |
| std::size_t YAML::Node::size |
( |
|
) |
const |
Friends And Related Function Documentation
| bool operator< |
( |
const Node & |
n1, |
|
|
const Node & |
n2 | |
|
) |
| | [friend] |
template<typename T >
| void operator>> |
( |
const Node & |
node, |
|
|
T & |
value | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following files: