YAMLDocReader::getCurNode()

This commit is contained in:
Jack Andersen 2016-02-02 13:39:47 -10:00
parent 80e03dbe12
commit 09033d90cc
1 changed files with 1 additions and 0 deletions

View File

@ -537,6 +537,7 @@ public:
static bool ValidateClassType(yaml_parser_t* doc, const char* expectedType);
inline const YAMLNode* getRootNode() const {return m_rootNode.get();}
inline const YAMLNode* getCurNode() const {return m_subStack.empty() ? nullptr : m_subStack.back();}
std::unique_ptr<YAMLNode> releaseRootNode() {return std::move(m_rootNode);}
bool enterSubRecord(const char* name)