mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Started emitting events for Values
This commit is contained in:
@@ -22,6 +22,8 @@ namespace YAML
|
||||
node(): m_pRef(new node_ref) {}
|
||||
|
||||
bool is(const node& rhs) const { return m_pRef == rhs.m_pRef; }
|
||||
const node_ref *ref() const { return m_pRef.get(); }
|
||||
|
||||
ValueType::value type() const { return m_pRef->type(); }
|
||||
|
||||
const std::string& scalar() const { return m_pRef->scalar(); }
|
||||
|
@@ -18,6 +18,7 @@ namespace YAML
|
||||
{
|
||||
public:
|
||||
friend class ValueBuilder;
|
||||
friend class ValueEvents;
|
||||
friend class detail::node_data;
|
||||
template<typename, typename, typename> friend class detail::iterator_base;
|
||||
|
||||
|
Reference in New Issue
Block a user