#include <URL.h>

Public Types | |
| typedef std::map< String, String > | Parameters |
| Access the url parameters. | |
Public Member Functions | |
| URL () | |
| Constructs an empty URL. | |
| URL (const String &url) | |
| Constructs a new URL from the given string. | |
| URL (const char *url) | |
| ~URL () | |
| Destroys the URL. | |
| bool | SetURL (const String &url) |
| const String & | GetURL () const |
| Returns the entire URL. | |
| bool | SetProtocol (const String &protocol) |
| Sets the URL's protocol. | |
| const String & | GetProtocol () const |
| Returns the protocol this URL is utilising. | |
| bool | SetLogin (const String &login) |
| Sets the URL's login. | |
| const String & | GetLogin () const |
| Returns the URL's login. | |
| bool | SetPassword (const String &password) |
| Sets the URL's password. | |
| const String & | GetPassword () const |
| Returns the URL's password. | |
| bool | SetHost (const String &host) |
| Sets the URL's host. | |
| const String & | GetHost () const |
| Returns the URL's host. | |
| bool | SetPort (int port) |
| Sets the URL's port number. | |
| int | GetPort () const |
| Returns the URL's port number. | |
| bool | SetPath (const String &path) |
| Sets the URL's path. | |
| bool | PrefixPath (const String &prefix) |
| Prefixes the URL's existing path with the given prefix. | |
| const String & | GetPath () const |
| Returns the URL's path. | |
| bool | SetFileName (const String &file_name) |
| Sets the URL's file name. | |
| const String & | GetFileName () const |
| Returns the URL's file name. | |
| bool | SetExtension (const String &extension) |
| Sets the URL's file extension. | |
| const String & | GetExtension () const |
| Returns the URL's file extension. | |
| const Parameters & | GetParameters () const |
| void | SetParameter (const String &name, const String &value) |
| void | SetParameters (const Parameters ¶meters) |
| void | ClearParameters () |
| String | GetPathedFileName () const |
| Returns the URL's path, file name and extension. | |
| String | GetQueryString () const |
| Builds and returns a url query string ( key=value&key2=value2 ). | |
| bool | operator< (const URL &rhs) const |
| Less-than operator for use as a key in STL containers. | |
| Rocket::Core::URL::URL | ( | const char * | url | ) |
Constructs a new URL from the given string. A little more scripting engine friendly.
| bool Rocket::Core::URL::SetURL | ( | const String & | url | ) |