Removed traces of old-api Node

This commit is contained in:
Jesse Beder
2012-05-19 01:19:03 -05:00
parent a183293ff0
commit 683c60f490
6 changed files with 0 additions and 58 deletions

View File

@@ -1,5 +1,4 @@
#include "yaml-cpp/binary.h"
#include "yaml-cpp/node.h"
namespace YAML
{
@@ -91,12 +90,4 @@ namespace YAML
ret.resize(out - &ret[0]);
return ret;
}
void operator >> (const Node& node, Binary& binary)
{
std::string scalar;
node.GetScalar(scalar);
std::vector<unsigned char> data = DecodeBase64(scalar);
binary.swap(data);
}
}

View File

@@ -1,12 +1,6 @@
#include "yaml-cpp/null.h"
#include "yaml-cpp/node.h"
namespace YAML
{
_Null Null;
bool IsNull(const Node& node)
{
return node.Read(Null);
}
}

View File

@@ -1,7 +1,6 @@
#include "yaml-cpp/parser.h"
#include "yaml-cpp/eventhandler.h"
#include "yaml-cpp/exceptions.h"
#include "yaml-cpp/node.h"
#include "directives.h"
#include "scanner.h"
#include "singledocparser.h"