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_authentication()
const;
92 std::string authentication()
const;
98 std::string username()
const;
104 std::string password()
const;
110 std::string host()
const;
115 bool has_port()
const;
121 std::size_t port()
const;
132 bool has_query()
const;
138 std::string query()
const;
143 bool has_fragment()
const;
149 std::string fragment()
const;
154 std::string to_string()
const;
160 uri make_absolute(
const uri &base);
166 uri make_reference(
const uri &base);
177 bool absolute_ =
false;
182 bool has_authentication_ =
false;
187 bool has_port_ =
false;
192 bool has_query_ =
false;
197 bool has_fragment_ =
false;
207 std::string username_;
212 std::string password_;
222 std::size_t port_ = 0;
232 std::string fragment_;
Enumerates the possible types a cell can be determined by it's current value.
Definition: cell.hpp:37
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:38