6 #ifndef __VISUALIZE_ISOCHRONE_H__
7 #define __VISUALIZE_ISOCHRONE_H__
44 options(std::map<std::string, std::string>())
537 VisualizeIsochroneRequest(
const std::string& graphName_,
const std::string& sourceNode_,
const double maxSolutionRadius_,
const std::vector<std::string>& weightsOnEdges_,
const std::vector<std::string>& restrictions_,
const int32_t numLevels_,
const bool generateImage_,
const std::string& levelsTable_,
const std::map<std::string, std::string>& styleOptions_,
const std::map<std::string, std::string>& solveOptions_,
const std::map<std::string, std::string>& contourOptions_,
const std::map<std::string, std::string>& options_):
570 template<>
struct codec_traits<gpudb::VisualizeIsochroneRequest>
590 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
592 const std::vector<size_t> fo = rd->fieldOrder();
594 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
698 info(std::map<std::string, std::string>()),
699 solveInfo(std::map<std::string, std::string>()),
708 std::map<std::string, std::string>
info;
716 template<>
struct codec_traits<gpudb::VisualizeIsochroneResponse>
720 ::avro::encode(e, v.
width);
721 ::avro::encode(e, v.
height);
724 ::avro::encode(e, v.
info);
731 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
733 const std::vector<size_t> fo = rd->fieldOrder();
735 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
740 ::avro::decode(d, v.
width);
744 ::avro::decode(d, v.
height);
756 ::avro::decode(d, v.
info);
774 ::avro::decode(d, v.
width);
775 ::avro::decode(d, v.
height);
778 ::avro::decode(d, v.
info);
std::map< std::string, std::string > info
VisualizeIsochroneRequest()
Constructs a VisualizeIsochroneRequest object with default parameter values.
VisualizeIsochroneResponse()
Constructs a VisualizeIsochroneResponse object with default parameter values.
std::map< std::string, std::string > styleOptions
std::vector< uint8_t > imageData
A set of input parameters for const.
std::vector< std::string > weightsOnEdges
VisualizeIsochroneRequest(const std::string &graphName_, const std::string &sourceNode_, const double maxSolutionRadius_, const std::vector< std::string > &weightsOnEdges_, const std::vector< std::string > &restrictions_, const int32_t numLevels_, const bool generateImage_, const std::string &levelsTable_, const std::map< std::string, std::string > &styleOptions_, const std::map< std::string, std::string > &solveOptions_, const std::map< std::string, std::string > &contourOptions_, const std::map< std::string, std::string > &options_)
Constructs a VisualizeIsochroneRequest object with the specified parameters.
std::map< std::string, std::string > solveInfo
std::map< std::string, std::string > options
A set of output parameters for const.
std::map< std::string, std::string > solveOptions
std::map< std::string, std::string > contourInfo
std::vector< std::string > restrictions
std::map< std::string, std::string > contourOptions