Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
#include <yaml.h>
Public Member Functions | |
Yaml (std::shared_ptr<::Yaml::Node > root_node) | |
const ::Yaml::Node | operator[] (const std::string &key) const |
Static Public Member Functions | |
static Result< std::shared_ptr< Yaml > > | Load (const std::string &input) |
static Result< std::shared_ptr< Yaml > > | Load (std::iostream &input) |
static Result< std::shared_ptr< Yaml > > | LoadFile (const std::string &file_name) |
|
static |
Loads the input string as Yaml instance.
Return Status::YamlError if input string can not be loaded(malformed).
|
static |
Loads the input stream as Yaml instance.
Return Status::YamlError if input string can not be loaded(malformed).
|
static |
Loads the input file as a single Yaml instance.
Return Status::YamlError if the file can not be loaded(malformed).