RESTinio
|
Options for matching routes. More...
#include <path2regex.hpp>
Public Member Functions | |
options_t & | sensitive (bool s) & |
options_t && | sensitive (bool s) && |
bool | sensitive () const |
options_t & | strict (bool p) & |
options_t && | strict (bool p) && |
bool | strict () const |
options_t & | ending (bool p) & |
options_t && | ending (bool p) && |
bool | ending () const |
options_t & | delimiter (std::string p) & |
options_t && | delimiter (std::string p) && |
const std::string & | delimiter () const |
std::string | make_delimiter (std::string d) const |
options_t & | delimiters (std::string p) & |
options_t && | delimiters (std::string p) && |
const std::string & | delimiters () const |
options_t & | ends_with (std::vector< std::string > p) & |
options_t && | ends_with (std::vector< std::string > p) && |
const std::vector< std::string > & | ends_with () const |
std::string | make_ends_with () const |
Private Attributes | |
bool | m_sensitive { false } |
When true the route will be case sensitive. | |
bool | m_strict { false } |
When false the trailing slash is optional. | |
bool | m_ending { true } |
When false the path will match at the beginning. | |
std::string | m_delimiter { "/" } |
Path delimiter. | |
std::string | m_delimiters { "./" } |
Path delimiters. | |
std::vector< std::string > | m_ends_with |
Path delimiter. | |
Options for matching routes.
Definition at line 91 of file path2regex.hpp.
|
inline |
Definition at line 165 of file path2regex.hpp.
|
inline |
Definition at line 152 of file path2regex.hpp.
|
inline |
Definition at line 159 of file path2regex.hpp.
|
inline |
Definition at line 195 of file path2regex.hpp.
|
inline |
Definition at line 182 of file path2regex.hpp.
|
inline |
Definition at line 189 of file path2regex.hpp.
|
inline |
Definition at line 146 of file path2regex.hpp.
Definition at line 133 of file path2regex.hpp.
Definition at line 140 of file path2regex.hpp.
|
inline |
Definition at line 214 of file path2regex.hpp.
|
inline |
Definition at line 201 of file path2regex.hpp.
|
inline |
Definition at line 208 of file path2regex.hpp.
|
inline |
Definition at line 171 of file path2regex.hpp.
|
inline |
Definition at line 220 of file path2regex.hpp.
|
inline |
Definition at line 108 of file path2regex.hpp.
Definition at line 95 of file path2regex.hpp.
Definition at line 102 of file path2regex.hpp.
|
inline |
Definition at line 127 of file path2regex.hpp.
Definition at line 114 of file path2regex.hpp.
Definition at line 121 of file path2regex.hpp.
|
private |
Path delimiter.
Definition at line 248 of file path2regex.hpp.
|
private |
Path delimiters.
Definition at line 251 of file path2regex.hpp.
When false the path will match at the beginning.
Definition at line 245 of file path2regex.hpp.
|
private |
Path delimiter.
Definition at line 254 of file path2regex.hpp.
When true the route will be case sensitive.
Definition at line 239 of file path2regex.hpp.
When false the trailing slash is optional.
Definition at line 242 of file path2regex.hpp.