Functions | |
void | AddDoubleArrayVectorToJsonDoc (ot::JsonDocument &doc, const std::string &name, const std::vector< std::array< double, 3 > > &vector) |
void | AddDoubleArrayPointerToJsonDoc (ot::JsonDocument &doc, const std::string &name, const double *doubleArray, int size) |
void | addOldTreeIconsToJsonDoc (ot::JsonDocument &doc, const OldTreeIcon &treeIcons) |
void | AddEdgeToJsonDoc (ot::JsonDocument &doc, const std::string &name, const std::list< Geometry::Edge > &edges) |
void | AddTriangleToJsonDoc (ot::JsonDocument &doc, const std::string &name, const std::list< Geometry::Triangle > &triangles) |
void | AddNodeToJsonDoc (ot::JsonDocument &doc, const std::string &name, const std::vector< Geometry::Node > &nodes) |
std::vector< ot::UID > | getVectorFromDocument (ot::JsonDocument &doc, const std::string &itemName) |
ot::JsonDocument | BuildJsonDocFromAction (const std::string &action) |
ot::JsonDocument | BuildJsonDocFromString (std::string json) |
void MicroserviceAPI::AddDoubleArrayPointerToJsonDoc | ( | ot::JsonDocument & | doc, |
const std::string & | name, | ||
const double * | doubleArray, | ||
int | size ) |
void MicroserviceAPI::AddDoubleArrayVectorToJsonDoc | ( | ot::JsonDocument & | doc, |
const std::string & | name, | ||
const std::vector< std::array< double, 3 > > & | vector ) |
void MicroserviceAPI::AddEdgeToJsonDoc | ( | ot::JsonDocument & | doc, |
const std::string & | name, | ||
const std::list< Geometry::Edge > & | edges ) |
void MicroserviceAPI::AddNodeToJsonDoc | ( | ot::JsonDocument & | doc, |
const std::string & | name, | ||
const std::vector< Geometry::Node > & | nodes ) |
void MicroserviceAPI::addOldTreeIconsToJsonDoc | ( | ot::JsonDocument & | doc, |
const OldTreeIcon & | treeIcons ) |
void MicroserviceAPI::AddTriangleToJsonDoc | ( | ot::JsonDocument & | doc, |
const std::string & | name, | ||
const std::list< Geometry::Triangle > & | triangles ) |
ot::JsonDocument MicroserviceAPI::BuildJsonDocFromAction | ( | const std::string & | action | ) |
ot::JsonDocument MicroserviceAPI::BuildJsonDocFromString | ( | std::string | json | ) |
std::vector< ot::UID > MicroserviceAPI::getVectorFromDocument | ( | ot::JsonDocument & | doc, |
const std::string & | itemName ) |