#include <yateclass.h>
Inheritance diagram for URI:
Public Member Functions | |
URI () | |
URI (const URI &uri) | |
URI (const String &uri) | |
URI (const char *uri) | |
URI (const char *proto, const char *user, const char *host, int port=0, const char *desc=0) | |
void | parse () const |
URI & | operator= (const URI &value) |
URI & | operator= (const String &value) |
URI & | operator= (const char *value) |
const String & | getDescription () const |
const String & | getProtocol () const |
const String & | getUser () const |
const String & | getHost () const |
int | getPort () const |
Protected Member Functions | |
virtual void | changed () |
Protected Attributes | |
bool | m_parsed |
String | m_desc |
String | m_proto |
String | m_user |
String | m_host |
int | m_port |
Uniform Resource Identifier encapsulation and parser. For efficiency reason the parsing is delayed as long as possible
|
Empty URI constructor |
|
Copy constructor
|
|
Constructor from a String that gets parsed later |
|
Constructor from a C string that gets parsed later |
|
Constructor from URI components |
|
Notification method called whenever the string URI has changed. The default behaviour is to invalidate the parsed flag and cal the method inherited from String. Reimplemented from String. |
|
Access method to the description part of the URI
|
|
Access method to the host part of the URI
|
|
Access method to the port part of the URI
|
|
Access method to the protocol part of the URI
|
|
Access method to the user part of the URI
|
|
Assignment operator from C string
Reimplemented from String. |
|
Assignment operator from String
Reimplemented from String. |
|
Assignment operator from URI
|
|
Calling this method ensures the string URI is parsed into components |