Switched YAML::Parse to YAML::Load, and added LoadAll

This commit is contained in:
Jesse Beder
2011-09-13 14:24:47 -05:00
parent 5be19ccbfd
commit e3d5ec189d
4 changed files with 146 additions and 117 deletions

View File

@@ -5,16 +5,21 @@
#pragma once
#endif
#include <string>
#include <iosfwd>
#include <string>
#include <vector>
namespace YAML
{
class Node;
Node Parse(const std::string& input);
Node Parse(const char *input);
Node Parse(std::istream& input);
Node Load(const std::string& input);
Node Load(const char *input);
Node Load(std::istream& input);
std::vector<Node> LoadAll(const std::string& input);
std::vector<Node> LoadAll(const char *input);
std::vector<Node> LoadAll(std::istream& input);
}
#endif // VALUE_PARSE_H_62B23520_7C8E_11DE_8A39_0800200C9A66