WebFramework v3.0.12
Web framework for C++.
Loading...
Searching...
No Matches
framework::utility::RouteParameters Struct Reference

Public Types

enum class  routeParametersType { stringTypeIndex , integerTypeIndex , doubleTypeIndex }
 

Public Member Functions

 RouteParameters (const std::string &jsonRoute)
 
 RouteParameters (RouteParameters &&other) noexcept=default
 
RouteParametersoperator= (RouteParameters &&other) noexcept=default
 

Public Attributes

std::string baseRoute
 
std::unordered_map< std::string, std::variant< std::string, int64_t, double > > parameters
 
std::vector< std::string > indices
 

Static Public Attributes

static constexpr std::string_view stringType = "string:"
 
static constexpr std::string_view integerType = "int:"
 
static constexpr std::string_view doubleType = "double:"
 

Detailed Description

Definition at line 9 of file RouteParameters.h.

Member Enumeration Documentation

◆ routeParametersType

enum class framework::utility::RouteParameters::routeParametersType
strong

Definition at line 16 of file RouteParameters.h.

Member Data Documentation

◆ baseRoute

std::string framework::utility::RouteParameters::baseRoute

Definition at line 24 of file RouteParameters.h.

◆ doubleType

std::string_view framework::utility::RouteParameters::doubleType = "double:"
staticconstexpr

Definition at line 14 of file RouteParameters.h.

◆ indices

std::vector<std::string> framework::utility::RouteParameters::indices

Definition at line 26 of file RouteParameters.h.

◆ integerType

std::string_view framework::utility::RouteParameters::integerType = "int:"
staticconstexpr

Definition at line 13 of file RouteParameters.h.

◆ parameters

std::unordered_map<std::string, std::variant<std::string, int64_t, double> > framework::utility::RouteParameters::parameters

Definition at line 25 of file RouteParameters.h.

◆ stringType

std::string_view framework::utility::RouteParameters::stringType = "string:"
staticconstexpr

Definition at line 12 of file RouteParameters.h.


The documentation for this struct was generated from the following file: