29 #include <xlnt/xlnt_config.hpp> 30 #include <xlnt/utils/path.hpp> 49 uri(
const uri &base,
const uri &relative);
59 uri(
const std::string &uri_string);
64 bool is_relative()
const;
69 bool is_absolute()
const;
75 std::string scheme()
const;
81 std::string authority()
const;
86 bool has_authority()
const;
91 bool has_authentication()
const;
97 std::string authentication()
const;
103 std::string username()
const;
109 std::string password()
const;
115 std::string host()
const;
120 bool has_port()
const;
126 std::size_t port()
const;
137 bool has_query()
const;
143 std::string query()
const;
148 bool has_fragment()
const;
154 std::string fragment()
const;
159 std::string to_string()
const;
165 uri make_absolute(
const uri &base);
171 uri make_reference(
const uri &base);
187 bool absolute_ =
false;
193 bool has_authority_ =
false;
203 bool has_authentication_ =
false;
208 bool has_port_ =
false;
213 bool has_query_ =
false;
218 bool has_fragment_ =
false;
228 std::string username_;
233 std::string password_;
243 std::size_t port_ = 0;
253 std::string fragment_;
Enumerates the possible types a cell can be determined by it's current value.
Definition: cell.hpp:36
bool operator!=(std::nullptr_t, const cell &cell)
Returns true if this cell is initialized.
Encapsulates a uniform resource identifier (URI) as described by RFC 3986.
Definition: uri.hpp:38
bool operator==(std::nullptr_t, const cell &cell)
Returns true if this cell is uninitialized.
Encapsulates a path that points to location in a filesystem.
Definition: path.hpp:43