Provides basic URL parsing. More...
#include <Coherent/UI/URLParse.h>
Public Member Functions | |
virtual bool | Parse (const wchar_t *url, URLComponent *scheme, URLComponent *location, URLComponent *query, URLComponent *fragment)=0 |
Parses an URL and split it in component. More... | |
Provides basic URL parsing.
|
pure virtual |
Parses an URL and split it in component.
url | the url to be parsed. Note: this method requires url to be full url of the form scheme://some/network/location?a=42#top, where the query and fragment parts are optional. |
scheme | pointer to the URLComponent that should store the scheme. May be nullptr. |
location | pointer to the URLComponent that should store the location. May be nullptr. |
query | pointer to the URLComponent that should store the query. May be nullptr. |
fragment | pointer to the URLComponent that should store the fragment. May be nullptr. |