stdex
Additional custom or not Standard C++ covered algorithms
Loading...
Searching...
No Matches
Public Attributes | Protected Member Functions | Friends | List of all members
stdex::html::url_token< _Elem, _Traits, _Alloc > Class Template Reference

HTTP token representing an URL. More...

#include <stdex/html.hpp>

Inheritance diagram for stdex::html::url_token< _Elem, _Traits, _Alloc >:
stdex::html::token

Public Attributes

std::basic_string< _Elem, _Traits, _Alloc > url
 URL.
 
token_url_t encoding
 URL encoding.
 
- Public Attributes inherited from stdex::html::token
token_t type
 Token type.
 
sequencesequence
 Pointer to the sequence this token represents or nullptr when it doesn't trivially represent one sequence.
 
uintptr_t data
 Any user-supplied data.
 

Protected Member Functions

 url_token (_In_reads_or_z_opt_(num_chars) const _Elem *_url=nullptr, size_t num_chars=0, token_url_t _encoding=token_url_t::plain, stdex::html::sequence *sequence=nullptr, uintptr_t data=0)
 
- Protected Member Functions inherited from stdex::html::token
 token (token_t _type=token_t::root, sequence *_sequence=nullptr, uintptr_t _data=0)
 

Friends

class parser< _Elem, _Traits, _Alloc >
 

Additional Inherited Members

- Public Member Functions inherited from stdex::html::token
template<class _Traits = std::char_traits<char>, class _Alloc = std::allocator<char>>
size_t append_tag (std::basic_string< char, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
template<class _Traits = std::char_traits<wchar_t>, class _Alloc = std::allocator<wchar_t>>
size_t append_tag (std::basic_string< wchar_t, _Traits, _Alloc > &str) const
 Appends token tag to the source code.
 
- Static Public Member Functions inherited from stdex::html::token
template<class T >
static tokenparse_tag (const T *str, size_t &offset)
 

Detailed Description

template<class _Elem, class _Traits = std::char_traits<_Elem>, class _Alloc = std::allocator<_Elem>>
class stdex::html::url_token< _Elem, _Traits, _Alloc >

HTTP token representing an URL.


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