Function Scalar

Synopsis

#include <include/yaml-cpp/node/node.h>

const std::string & Scalar() const

Description

No description yet.

Mentioned in

Source

Lines 166-170 in include/yaml-cpp/node/impl.h. Line 69 in include/yaml-cpp/node/node.h.

inline const std::string& Node::Scalar() const {
  if (!m_isValid)
    throw InvalidNode(m_invalidKey);
  return m_pNode ? m_pNode->scalar() : detail::node_data::empty_scalar();
}





Add Discussion as Guest

Log in