gz/fuel_tools/JSONParser.hh
static bool ParseLicenses(const std::string &_json, std::map< std::string, unsigned int > &_licenses)
Parse a license array JSON string and return a map of licenses.
class for iterating through models
Definition: gz/fuel_tools/ModelIter.hh:43
STL class.
static std::vector< WorldIdentifier > ParseWorlds(const std::string &_json, const ServerConfig &_server)
Parse a world array JSON string and return a world iterator.
STL class.
static std::string BuildWorld(WorldIter _worldIt)
Build a world iterator from a JSON string.
Defines how to identify a model.
Definition: gz/fuel_tools/ModelIdentifier.hh:45
A helper class for making REST requests.
Definition: gz/fuel_tools/JSONParser.hh:43
Definition: gz/fuel_tools/JSONParser.hh:31
class for iterating through worlds
Definition: gz/fuel_tools/WorldIter.hh:42
STL class.
Describes options needed for a server.
Definition: gz/fuel_tools/ClientConfig.hh:47
static std::vector< ModelIdentifier > ParseModels(const std::string &_json, const ServerConfig &_server)
Parse a model array JSON string and return a model iterator.
Defines how to identify a world.
Definition: gz/fuel_tools/WorldIdentifier.hh:42
static std::string BuildModel(ModelIter _modelIt)
Build a model iterator from a JSON string.
static WorldIdentifier ParseWorld(const std::string &_json, const ServerConfig &_server)
Parse a world JSON string and return a world identifier.
static ModelIdentifier ParseModel(const std::string &_json, const ServerConfig &_server)
Parse a model JSON string and return a model identifier.