123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- #ifndef BOOST_URL_PARAMS_ENCODED_VIEW_HPP
- #define BOOST_URL_PARAMS_ENCODED_VIEW_HPP
- #include <boost/url/detail/config.hpp>
- #include <boost/url/error_types.hpp>
- #include <boost/url/params_encoded_base.hpp>
- #include <boost/url/params_view.hpp>
- #include <boost/core/detail/string_view.hpp>
- #include <iosfwd>
- #include <utility>
- namespace boost {
- namespace urls {
- class BOOST_URL_DECL params_encoded_view
- : public params_encoded_base
- {
- friend class url_view_base;
- friend class params_view;
- friend class params_encoded_ref;
- friend struct query_rule_t;
- params_encoded_view(
- detail::query_ref const& ref) noexcept;
- public:
-
- params_encoded_view() = default;
-
- params_encoded_view(
- params_encoded_view const& other) = default;
-
- params_encoded_view(
- core::string_view s);
-
- params_encoded_view&
- operator=(
- params_encoded_view const&) = default;
-
- operator
- params_view() const noexcept;
-
- friend
- BOOST_URL_DECL
- system::result<params_encoded_view>
- parse_query(core::string_view s) noexcept;
- };
- }
- }
- #endif
|