|
Yate
|
Encapsulation for an URI. More...
#include <yateclass.h>
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 |
| const String & | getExtra () const |
Protected Member Functions | |
| virtual void | changed () |
Protected Attributes | |
| bool | m_parsed |
| String | m_desc |
| String | m_proto |
| String | m_user |
| String | m_host |
| String | m_extra |
| int | m_port |
Encapsulation for an URI.
Uniform Resource Identifier encapsulation and parser. For efficiency reason the parsing is delayed as long as possible
| URI | ( | const char * | uri | ) | [explicit] |
| URI | ( | const char * | proto, |
| const char * | user, | ||
| const char * | host, | ||
| int | port = 0, |
||
| const char * | desc = 0 |
||
| ) |
| virtual void changed | ( | ) | [protected, virtual] |
| const String& getDescription | ( | ) | const [inline] |
Access method to the host part of the URI
Referenced by MGCPEndpointId::set().
| int getPort | ( | ) | const [inline] |
Access method to the port part of the URI
Referenced by MGCPEndpointId::set().
| const String& getProtocol | ( | ) | const [inline] |
Access method to the user part of the URI
Referenced by MGCPEndpointId::set().
Assignment operator from URI
| value | New URI value to assign |
References String::operator=().
Assignment operator from String
| value | New URI value to assign |
Reimplemented from String.
References String::operator=().
| URI& operator= | ( | const char * | value | ) | [inline] |
Assignment operator from C string
| value | New URI value to assign |
Reimplemented from String.
References String::operator=().
1.7.6.1