This is an example of how to set and get datastore description.
#include <iostream>
#include <string>
#include <cassert>
{
[[maybe_unused]]
const auto ret =
manager.get_description(&buf);
assert(!ret && buf.empty());
manager.set_description(
"description example");
std::cout << buf << std::endl;
}
{
std::cout << buf << std::endl;
}
return 0;
}
int main()
Definition: jgraph.cpp:24