Added tags to Node

This commit is contained in:
Jesse Beder
2011-09-13 14:00:47 -05:00
parent 2dfccbb945
commit 0987b234c3
7 changed files with 35 additions and 7 deletions

View File

@@ -32,13 +32,15 @@ namespace YAML
// access
template<typename T> const T as() const;
const std::string& scalar() const;
const std::string& Scalar() const;
const std::string& Tag() const;
void SetTag(const std::string& tag);
// assignment
bool is(const Node& rhs) const;
template<typename T> Node& operator=(const T& rhs);
Node& operator=(const Node& rhs);
// size/iterator
std::size_t size() const;