Classes | |
| struct | ParseError |
| struct | use_json_t |
| A tag type to indicate whether to use Protobuf or JSON for parsing. More... | |
| struct | use_protobuf_t |
| A tag type to indicate whether to use Protobuf or JSON for parsing. More... | |
Concepts | |
| concept | HasValueTypeAndIterator |
| concept | IsSequenceContainer |
| concept | IsTupleLike |
Typedefs | |
| template<class T > | |
| using | Result = std::expected< T, ParseError > |
Functions | |
| http::Header | parseHeaderFromString (const std::string &header_str) |
| Parse a header string to a Header enum. | |
| http::Method | parseMethodFromString (const std::string &method) |
Parse the given string to a http::Method. | |
| template<class T > | |
| Result< T > | parseFromJson (json json, use_json_t) |
| Converts a JSON string to a T using JSON. | |
| template<class T > | |
| Result< T > | parseFromJson (std::string json_str, use_protobuf_t) |
| Converts a JSON string to a T using Protobuf. | |
| template<class T > | |
| Result< json > | parseToJson (T message, use_json_t) |
| Converts a T to a JSON object using JSON. | |
| template<class T > | |
| Result< std::string > | parseToJson (T message, use_protobuf_t) |
| Converts a T to a JSON string using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (Condition condition, use_json_t) |
| Parses a condition object to a JSON object. | |
| template<> | |
| Result< Condition > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< std::string > | parseToJson (Condition condition, use_protobuf_t) |
| Converts a condition object to a JSON string using protobuf. | |
| template<> | |
| Result< Condition > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (ConditionRecord condition_record, use_json_t) |
| Converts a ConditionRecord object to a JSON object. | |
| template<> | |
| Result< std::string > | parseToJson (ConditionRecord condition_record, use_protobuf_t) |
| Converts a ConditionRecord object to a JSON string using Protobuf. | |
| template<> | |
| Result< ConditionRecord > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a ConditionRecord object. | |
| template<> | |
| Result< ConditionRecord > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a ConditionRecord object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (RunningInstance running_instance, use_json_t) |
| Converts a RunningInstance to a JSON object. | |
| template<> | |
| Result< RunningInstance > | parseFromJson (json json, use_json_t) |
| Parses a JSON object into a RunningInstance. | |
| template<> | |
| Result< std::string > | parseToJson (RunningInstance running_instance, use_protobuf_t) |
| Converts a RunningInstance to a protobuf JSON string. | |
| template<> | |
| Result< RunningInstance > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a protobuf JSON string into a RunningInstance. | |
| template<> | |
| Result< json > | parseToJson (ExecuteRequest execute_request, use_json_t) |
| Converts an ExecuteRequest to a JSON object. | |
| template<> | |
| Result< ExecuteRequest > | parseFromJson (json json, use_json_t) |
| Parses a JSON object into an ExecuteRequest. | |
| template<> | |
| Result< std::string > | parseToJson (ExecuteRequest execute_request, use_protobuf_t) |
| Converts an ExecuteRequest to a protobuf JSON string. | |
| template<> | |
| Result< ExecuteRequest > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a protobuf JSON string into an ExecuteRequest. | |
| template<> | |
| Result< json > | parseToJson (TransformationDef transform_def, use_json_t) |
| Parses a TransformationDef object to a JSON object. | |
| template<> | |
| Result< TransformationDef > | parseFromJson (json json, use_json_t) |
| Parses a JSON object to a TransformationDef object. | |
| template<> | |
| Result< json > | parseToJson (Dimension dimension, use_json_t) |
| Parses a Dimension object to a JSON object. | |
| template<> | |
| Result< Dimension > | parseFromJson (json json, use_json_t) |
| Parses a JSON object to a Dimension object. | |
| template<> | |
| Result< std::string > | parseToJson (Dimension dimension, use_protobuf_t) |
| Parses a Dimension object to a JSON string using Protobuf. | |
| template<> | |
| Result< Dimension > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a Dimension object. | |
| template<> | |
| Result< json > | parseToJson (Feature feature, use_json_t) |
| Parses a Feature object to a JSON object. | |
| template<> | |
| Result< Feature > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a Feature object. | |
| template<> | |
| Result< std::string > | parseToJson (Feature feature, use_protobuf_t) |
| Converts a Feature object to a JSON string using protobuf. | |
| template<> | |
| Result< Feature > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a Feature object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (FeatureRecord feature, use_json_t) |
| Converts a FeatureRecord object to a JSON object using JSON. | |
| template<> | |
| Result< std::string > | parseToJson (FeatureRecord feature_record, use_protobuf_t) |
| Converts a FeatureRecord to a JSON string using Protobuf. | |
| template<> | |
| Result< FeatureRecord > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a FeatureRecord object using JSON. | |
| template<> | |
| Result< FeatureRecord > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a FeatureRecord object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (std::vector< Samples > samples, use_json_t) |
| Converts a Samples object to a JSON object using JSON. | |
| template<> | |
| Result< std::vector< Samples > > | parseFromJson (json json, use_json_t) |
| Parses a JSON string to a Samples object using JSON. | |
| template<> | |
| Result< json > | parseToJson (Transformation transformation, use_json_t) |
| Parses a Transformation object to a JSON object. | |
| template<> | |
| Result< Transformation > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a Transformation object. | |
| template<> | |
| Result< std::string > | parseToJson (Transformation transformation, use_protobuf_t) |
| Converts a Transformation object to a JSON string using protobuf. | |
| template<> | |
| Result< Transformation > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a Transformation object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (TransformationRecord transformation_record, use_json_t) |
| Converts a TransformationRecord object to a JSON object. | |
| template<> | |
| Result< std::string > | parseToJson (TransformationRecord transformation_record, use_protobuf_t) |
| Converts a TransformationRecord object to a JSON string using Protobuf. | |
| template<> | |
| Result< TransformationRecord > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a TransformationRecord object. | |
| template<> | |
| Result< TransformationRecord > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a TransformationRecord object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (Condition condition, use_json_t) |
| Parses a condition object to a JSON object. | |
| template<> | |
| Result< Condition > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< std::string > | parseToJson (Condition condition, use_protobuf_t) |
| Converts a condition object to a JSON string using protobuf. | |
| template<> | |
| Result< Condition > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (ConditionRecord condition_record, use_json_t) |
| Converts a ConditionRecord object to a JSON object. | |
| template<> | |
| Result< std::string > | parseToJson (ConditionRecord condition_record, use_protobuf_t) |
| Converts a ConditionRecord object to a JSON string using Protobuf. | |
| template<> | |
| Result< ConditionRecord > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< ConditionRecord > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (RunningInstance running_instance, use_json_t) |
| Converts a RunningInstance to a JSON object. | |
| template<> | |
| Result< RunningInstance > | parseFromJson (json json, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< std::string > | parseToJson (RunningInstance running_instance, use_protobuf_t) |
| Converts a RunningInstance to a protobuf JSON string. | |
| template<> | |
| Result< RunningInstance > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (ExecuteRequest execute_request, use_json_t) |
| Converts an ExecuteRequest to a JSON object. | |
| template<> | |
| Result< ExecuteRequest > | parseFromJson (json json, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< std::string > | parseToJson (ExecuteRequest execute_request, use_protobuf_t) |
| Converts an ExecuteRequest to a protobuf JSON string. | |
| template<> | |
| Result< ExecuteRequest > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (TransformationDef transform_def, use_json_t) |
| Parses a TransformationDef object to a JSON object. | |
| template<> | |
| Result< TransformationDef > | parseFromJson (json json, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< json > | parseToJson (Dimension dimension, use_json_t) |
| Parses a Dimension object to a JSON object. | |
| template<> | |
| Result< Dimension > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< std::string > | parseToJson (Dimension dimension, use_protobuf_t) |
| Parses a Dimension object to a JSON string using Protobuf. | |
| template<> | |
| Result< Dimension > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (Feature feature, use_json_t) |
| Parses a Feature object to a JSON object. | |
| template<> | |
| Result< Feature > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< std::string > | parseToJson (Feature feature, use_protobuf_t) |
| Converts a Feature object to a JSON string using protobuf. | |
| template<> | |
| Result< Feature > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (FeatureRecord feature, use_json_t) |
| Converts a FeatureRecord object to a JSON object using JSON. | |
| template<> | |
| Result< std::string > | parseToJson (FeatureRecord feature_record, use_protobuf_t) |
| Converts a FeatureRecord to a JSON string using Protobuf. | |
| template<> | |
| Result< FeatureRecord > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< FeatureRecord > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (std::vector< Samples > samples, use_json_t) |
| Converts a Samples object to a JSON object using JSON. | |
| template<> | |
| Result< std::vector< Samples > > | parseFromJson (json json_val, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< json > | parseToJson (Transformation transformation, use_json_t) |
| Parses a Transformation object to a JSON object. | |
| template<> | |
| Result< Transformation > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< std::string > | parseToJson (Transformation transformation, use_protobuf_t) |
| Converts a Transformation object to a JSON string using protobuf. | |
| template<> | |
| Result< Transformation > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| Result< json > | parseToJson (TransformationRecord transformation_record, use_json_t) |
| Converts a TransformationRecord object to a JSON object. | |
| template<> | |
| Result< std::string > | parseToJson (TransformationRecord transformation_record, use_protobuf_t) |
| Converts a TransformationRecord object to a JSON string using Protobuf. | |
| template<> | |
| Result< TransformationRecord > | parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a condition object. | |
| template<> | |
| Result< TransformationRecord > | parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |
| template<> | |
| parse::Result< std::size_t > | parseRouteArgAs< std::size_t > (const server::RouteArg &arg) |
Parses a RouteArg as a unsigned integer. | |
| template<> | |
| parse::Result< std::uint32_t > | parseRouteArgAs< std::uint32_t > (const server::RouteArg &arg) |
Parses a RouteArg as a 32bit unsigned integer. | |
| template<> | |
| parse::Result< std::string > | parseRouteArgAs< std::string > (const server::RouteArg &arg) |
Parses a RouteArg as a string. | |
| using dcn::parse::Result = typedef std::expected<T, ParseError> |
| Result< T > dcn::parse::parseFromJson | ( | json | json, |
| use_json_t | |||
| ) |
Converts a JSON string to a T using JSON.
| T | The message type. |
| json | The JSON string to convert. |
| Result< RunningInstance > dcn::parse::parseFromJson | ( | json | json, |
| use_json_t | |||
| ) |
Parses a JSON object into a RunningInstance.
| json | The JSON object to parse. |
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< ExecuteRequest > dcn::parse::parseFromJson | ( | json | json, |
| use_json_t | |||
| ) |
Parses a JSON object into an ExecuteRequest.
| json | The JSON object to parse. |
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< TransformationDef > dcn::parse::parseFromJson | ( | json | json, |
| use_json_t | |||
| ) |
Parses a JSON object to a TransformationDef object.
| json | The JSON object to parse. |
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< Dimension > dcn::parse::parseFromJson | ( | json | json, |
| use_json_t | |||
| ) |
Parses a JSON object to a Dimension object.
| json | The JSON object to parse. |
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< std::vector< Samples > > dcn::parse::parseFromJson | ( | json | json, |
| use_json_t | |||
| ) |
Parses a JSON string to a Samples object using JSON.
| json | The JSON string to parse. |
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< RunningInstance > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< ExecuteRequest > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< TransformationDef > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< Condition > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
| json_obj | The JSON object to parse. |
| Result< ConditionRecord > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< Feature > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a Feature object.
| json_obj | The JSON object to parse. |
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< FeatureRecord > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a FeatureRecord object using JSON.
| json_obj | The JSON object to parse. |
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< Transformation > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a Transformation object.
| json_obj | The JSON object to parse. |
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< TransformationRecord > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a TransformationRecord object.
| json_obj | The JSON object to parse. |
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< Condition > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< ConditionRecord > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< Dimension > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< Feature > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< FeatureRecord > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< Transformation > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< TransformationRecord > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< std::vector< Samples > > dcn::parse::parseFromJson | ( | json | json_obj, |
| use_json_t | |||
| ) |
Parses a JSON object to a condition object.
Parses a JSON object to a TransformationRecord object.
Parses a JSON object to a Transformation object.
Parses a JSON string to a Samples object using JSON.
Parses a JSON object to a FeatureRecord object using JSON.
Parses a JSON object to a Feature object.
Parses a JSON object to a Dimension object.
Parses a JSON object to a TransformationDef object.
Parses a JSON object into an ExecuteRequest.
Parses a JSON object into a RunningInstance.
Parses a JSON object to a ConditionRecord object.
| json_obj | The JSON object to parse. |
| Result< T > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Converts a JSON string to a T using Protobuf.
| T | The message type. |
| json | The JSON string to convert. |
| Result< Condition > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
| json_str | The JSON string to parse. |
| Result< ConditionRecord > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< RunningInstance > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a protobuf JSON string into a RunningInstance.
| json_str | The JSON string to parse. |
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< ExecuteRequest > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a protobuf JSON string into an ExecuteRequest.
| json_str | The JSON string to parse. |
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< Dimension > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a Dimension object.
| json_str | The JSON string to parse. |
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< Feature > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a Feature object using Protobuf.
| json_str | The JSON string to parse. |
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< FeatureRecord > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a FeatureRecord object using Protobuf.
| json_str | The JSON string to parse. |
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< Transformation > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a Transformation object using Protobuf.
| json_str | The JSON string to parse. |
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< TransformationRecord > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a TransformationRecord object using Protobuf.
| json_str | The JSON string to parse. |
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< Condition > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< ConditionRecord > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< RunningInstance > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< ExecuteRequest > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< Dimension > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< Feature > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< FeatureRecord > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< Transformation > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| Result< TransformationRecord > dcn::parse::parseFromJson | ( | std::string | json_str, |
| use_protobuf_t | |||
| ) |
Parses a JSON string to a condition object using Protobuf.
Parses a JSON string to a TransformationRecord object using Protobuf.
Parses a JSON string to a Transformation object using Protobuf.
Parses a JSON string to a FeatureRecord object using Protobuf.
Parses a JSON string to a Feature object using Protobuf.
Parses a JSON string to a Dimension object.
Parses a protobuf JSON string into an ExecuteRequest.
Parses a protobuf JSON string into a RunningInstance.
Parses a JSON string to a ConditionRecord object using Protobuf.
| json_str | The JSON string to parse. |
| http::Header dcn::parse::parseHeaderFromString | ( | const std::string & | header_str | ) |
Parse a header string to a Header enum.
| [in] | header_str | The header string to parse |
| http::Method dcn::parse::parseMethodFromString | ( | const std::string & | method | ) |
Parse the given string to a http::Method.
| method | The string to be parsed. |
Method or Method::Unknown if the string doesn't match any of the methods. | parse::Result< std::size_t > dcn::parse::parseRouteArgAs< std::size_t > | ( | const server::RouteArg & | arg | ) |
Parses a RouteArg as a unsigned integer.
This function takes a RouteArg and attempts to parse it as a unsigned integer.
| arg | The RouteArg to parse. |
| parse::Result< std::string > dcn::parse::parseRouteArgAs< std::string > | ( | const server::RouteArg & | arg | ) |
Parses a RouteArg as a string.
This function takes a RouteArg and attempts to parse it as a string.
| arg | The RouteArg to parse. |
| parse::Result< std::uint32_t > dcn::parse::parseRouteArgAs< std::uint32_t > | ( | const server::RouteArg & | arg | ) |
Parses a RouteArg as a 32bit unsigned integer.
This function takes a RouteArg and attempts to parse it as a 32bit unsigned integer.
| arg | The RouteArg to parse. |
| Result< json > dcn::parse::parseToJson | ( | Condition | condition, |
| use_json_t | |||
| ) |
Parses a condition object to a JSON object.
| condition | The condition object to parse. |
| Result< json > dcn::parse::parseToJson | ( | Condition | condition, |
| use_json_t | |||
| ) |
Parses a condition object to a JSON object.
| condition | The condition object to parse. |
| Result< std::string > dcn::parse::parseToJson | ( | Condition | condition, |
| use_protobuf_t | |||
| ) |
Converts a condition object to a JSON string using protobuf.
| condition | The condition object to convert |
| Result< std::string > dcn::parse::parseToJson | ( | Condition | condition, |
| use_protobuf_t | |||
| ) |
Converts a condition object to a JSON string using protobuf.
| condition | The condition object to convert |
| Result< json > dcn::parse::parseToJson | ( | ConditionRecord | condition_record, |
| use_json_t | |||
| ) |
Converts a ConditionRecord object to a JSON object.
| condition_record | The ConditionRecord object to convert. |
| Result< json > dcn::parse::parseToJson | ( | ConditionRecord | condition_record, |
| use_json_t | |||
| ) |
Converts a ConditionRecord object to a JSON object.
| condition_record | The ConditionRecord object to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | ConditionRecord | condition_record, |
| use_protobuf_t | |||
| ) |
Converts a ConditionRecord object to a JSON string using Protobuf.
| condition_record | The ConditionRecord object to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | ConditionRecord | condition_record, |
| use_protobuf_t | |||
| ) |
Converts a ConditionRecord object to a JSON string using Protobuf.
| condition_record | The ConditionRecord object to convert. |
| Result< json > dcn::parse::parseToJson | ( | Dimension | dimension, |
| use_json_t | |||
| ) |
Parses a Dimension object to a JSON object.
| dimension | The Dimension object to parse. |
| Result< json > dcn::parse::parseToJson | ( | Dimension | dimension, |
| use_json_t | |||
| ) |
Parses a Dimension object to a JSON object.
| dimension | The Dimension object to parse. |
| Result< std::string > dcn::parse::parseToJson | ( | Dimension | dimension, |
| use_protobuf_t | |||
| ) |
Parses a Dimension object to a JSON string using Protobuf.
| dimension | The Dimension object to parse. |
| Result< std::string > dcn::parse::parseToJson | ( | Dimension | dimension, |
| use_protobuf_t | |||
| ) |
Parses a Dimension object to a JSON string using Protobuf.
| dimension | The Dimension object to parse. |
| Result< json > dcn::parse::parseToJson | ( | ExecuteRequest | execute_request, |
| use_json_t | |||
| ) |
Converts an ExecuteRequest to a JSON object.
| execute_request | The ExecuteRequest to convert. |
| Result< json > dcn::parse::parseToJson | ( | ExecuteRequest | execute_request, |
| use_json_t | |||
| ) |
Converts an ExecuteRequest to a JSON object.
| execute_request | The ExecuteRequest to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | ExecuteRequest | execute_request, |
| use_protobuf_t | |||
| ) |
Converts an ExecuteRequest to a protobuf JSON string.
| execute_request | The ExecuteRequest to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | ExecuteRequest | execute_request, |
| use_protobuf_t | |||
| ) |
Converts an ExecuteRequest to a protobuf JSON string.
| execute_request | The ExecuteRequest to convert. |
| Result< json > dcn::parse::parseToJson | ( | Feature | feature, |
| use_json_t | |||
| ) |
Parses a Feature object to a JSON object.
| feature | The Feature object to parse. |
| Result< json > dcn::parse::parseToJson | ( | Feature | feature, |
| use_json_t | |||
| ) |
Parses a Feature object to a JSON object.
| feature | The Feature object to parse. |
| Result< std::string > dcn::parse::parseToJson | ( | Feature | feature, |
| use_protobuf_t | |||
| ) |
Converts a Feature object to a JSON string using protobuf.
| feature | The Feature object to convert |
| Result< std::string > dcn::parse::parseToJson | ( | Feature | feature, |
| use_protobuf_t | |||
| ) |
Converts a Feature object to a JSON string using protobuf.
| feature | The Feature object to convert |
| Result< json > dcn::parse::parseToJson | ( | FeatureRecord | feature, |
| use_json_t | |||
| ) |
Converts a FeatureRecord object to a JSON object using JSON.
| feature | The FeatureRecord object to convert. |
| Result< json > dcn::parse::parseToJson | ( | FeatureRecord | feature, |
| use_json_t | |||
| ) |
Converts a FeatureRecord object to a JSON object using JSON.
| feature | The FeatureRecord object to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | FeatureRecord | feature_record, |
| use_protobuf_t | |||
| ) |
Converts a FeatureRecord to a JSON string using Protobuf.
| feature_record | The FeatureRecord object to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | FeatureRecord | feature_record, |
| use_protobuf_t | |||
| ) |
Converts a FeatureRecord to a JSON string using Protobuf.
| feature_record | The FeatureRecord object to convert. |
| Result< json > dcn::parse::parseToJson | ( | RunningInstance | running_instance, |
| use_json_t | |||
| ) |
Converts a RunningInstance to a JSON object.
| running_instance | The RunningInstance to convert. |
| Result< json > dcn::parse::parseToJson | ( | RunningInstance | running_instance, |
| use_json_t | |||
| ) |
Converts a RunningInstance to a JSON object.
| running_instance | The RunningInstance to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | RunningInstance | running_instance, |
| use_protobuf_t | |||
| ) |
Converts a RunningInstance to a protobuf JSON string.
| running_instance | The RunningInstance to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | RunningInstance | running_instance, |
| use_protobuf_t | |||
| ) |
Converts a RunningInstance to a protobuf JSON string.
| running_instance | The RunningInstance to convert. |
| Result< json > dcn::parse::parseToJson | ( | std::vector< Samples > | samples, |
| use_json_t | |||
| ) |
Converts a Samples object to a JSON object using JSON.
| samples | The Samples object to convert. |
| Result< json > dcn::parse::parseToJson | ( | std::vector< Samples > | samples, |
| use_json_t | |||
| ) |
Converts a Samples object to a JSON object using JSON.
| samples | The Samples object to convert. |
| Result< json > dcn::parse::parseToJson | ( | T | message, |
| use_json_t | |||
| ) |
Converts a T to a JSON object using JSON.
| T | The message type. |
| message | The message to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | T | message, |
| use_protobuf_t | |||
| ) |
Converts a T to a JSON string using Protobuf.
| T | The message type. |
| message | The message to convert. |
| Result< json > dcn::parse::parseToJson | ( | Transformation | transformation, |
| use_json_t | |||
| ) |
Parses a Transformation object to a JSON object.
| transformation | The Transformation object to parse. |
| Result< json > dcn::parse::parseToJson | ( | Transformation | transformation, |
| use_json_t | |||
| ) |
Parses a Transformation object to a JSON object.
| transformation | The Transformation object to parse. |
| Result< std::string > dcn::parse::parseToJson | ( | Transformation | transformation, |
| use_protobuf_t | |||
| ) |
Converts a Transformation object to a JSON string using protobuf.
| transformation | The Transformation object to convert |
| Result< std::string > dcn::parse::parseToJson | ( | Transformation | transformation, |
| use_protobuf_t | |||
| ) |
Converts a Transformation object to a JSON string using protobuf.
| transformation | The Transformation object to convert |
| Result< json > dcn::parse::parseToJson | ( | TransformationDef | transform_def, |
| use_json_t | |||
| ) |
Parses a TransformationDef object to a JSON object.
| transform_def | The TransformationDef object to parse. |
| Result< json > dcn::parse::parseToJson | ( | TransformationDef | transform_def, |
| use_json_t | |||
| ) |
Parses a TransformationDef object to a JSON object.
| transform_def | The TransformationDef object to parse. |
| Result< json > dcn::parse::parseToJson | ( | TransformationRecord | transformation_record, |
| use_json_t | |||
| ) |
Converts a TransformationRecord object to a JSON object.
| transformation_record | The TransformationRecord object to convert. |
| Result< json > dcn::parse::parseToJson | ( | TransformationRecord | transformation_record, |
| use_json_t | |||
| ) |
Converts a TransformationRecord object to a JSON object.
| transformation_record | The TransformationRecord object to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | TransformationRecord | transformation_record, |
| use_protobuf_t | |||
| ) |
Converts a TransformationRecord object to a JSON string using Protobuf.
| transformation_record | The TransformationRecord object to convert. |
| Result< std::string > dcn::parse::parseToJson | ( | TransformationRecord | transformation_record, |
| use_protobuf_t | |||
| ) |
Converts a TransformationRecord object to a JSON string using Protobuf.
| transformation_record | The TransformationRecord object to convert. |