mirror of
https://github.com/loot/yaml-cpp.git
synced 2026-07-27 14:13:42 -07: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