RESTinio
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
restinio::path2regex::impl::plain_string_token_t< Route_Param_Appender > Class Template Referencefinal

Plain str token. More...

#include <path2regex.hpp>

Inheritance diagram for restinio::path2regex::impl::plain_string_token_t< Route_Param_Appender >:
restinio::path2regex::impl::token_t< Route_Param_Appender >

Public Member Functions

 plain_string_token_t (const std::string &path)
 
virtual token_type_t append_self_to (std::string &route, param_appender_sequence_t< Route_Param_Appender > &, names_buffer_appender_t &) const override
 
virtual bool is_end_delimited (const std::string &delimiters) const noexcept override
 
- Public Member Functions inherited from restinio::path2regex::impl::token_t< Route_Param_Appender >
 token_t ()=default
 
 token_t (const token_t &)=delete
 
 token_t (token_t &&)=delete
 
virtual ~token_t ()=default
 

Private Attributes

const std::string m_escaped_path
 Already escaped piece of the route.
 
const char m_last_char
 

Detailed Description

template<typename Route_Param_Appender>
class restinio::path2regex::impl::plain_string_token_t< Route_Param_Appender >

Plain str token.

Definition at line 404 of file path2regex.hpp.

Constructor & Destructor Documentation

◆ plain_string_token_t()

restinio::path2regex::impl::plain_string_token_t< Route_Param_Appender >::plain_string_token_t ( const std::string & path)
inline

Definition at line 407 of file path2regex.hpp.

Member Function Documentation

◆ append_self_to()

◆ is_end_delimited()

virtual bool restinio::path2regex::impl::plain_string_token_t< Route_Param_Appender >::is_end_delimited ( const std::string & delimiters) const
inlineoverridevirtualnoexcept

Reimplemented from restinio::path2regex::impl::token_t< Route_Param_Appender >.

Definition at line 424 of file path2regex.hpp.

Member Data Documentation

◆ m_escaped_path

Already escaped piece of the route.

Definition at line 431 of file path2regex.hpp.

◆ m_last_char

Definition at line 432 of file path2regex.hpp.


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