Function Type
Synopsis
#include <include/yaml-cpp/node/node.h>
NodeType::value Type() const
Description
No description yet.
Mentioned in
- Tutorial / Basic Parsing and Node Editing
- Breaking Changes / 0.2.6
- How To Parse A Document (Old API) / When Something Goes Wrong
Source
Lines 82-86 in include/yaml-cpp/node/impl.h. Line 53 in include/yaml-cpp/node/node.h.
inline NodeType::value Node::Type() const {
if (!m_isValid)
throw InvalidNode(m_invalidKey);
return m_pNode ? m_pNode->type() : NodeType::Null;
}