mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 13:01:18 +00:00
Added Dump()
This commit is contained in:
@@ -20,4 +20,11 @@ namespace YAML
|
||||
out << emitter.c_str();
|
||||
return out;
|
||||
}
|
||||
|
||||
std::string Dump(const Node& node)
|
||||
{
|
||||
Emitter emitter;
|
||||
emitter << node;
|
||||
return emitter.c_str();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user