Added LoadFile and LoadAllFromFile (new API)

This commit is contained in:
beder
2012-01-11 21:31:01 -06:00
parent 2dbcc58912
commit f3446cbcea
2 changed files with 13 additions and 0 deletions

View File

@@ -16,10 +16,12 @@ namespace YAML
Node Load(const std::string& input);
Node Load(const char *input);
Node Load(std::istream& input);
Node LoadFile(const std::string& filename);
std::vector<Node> LoadAll(const std::string& input);
std::vector<Node> LoadAll(const char *input);
std::vector<Node> LoadAll(std::istream& input);
std::vector<Node> LoadAllFromFile(const std::string& filename);
}
#endif // VALUE_PARSE_H_62B23520_7C8E_11DE_8A39_0800200C9A66