#include <Url.h>
Public Types | |
| enum | Protocol { P_INVALID = 0, P_RTSP = 1, P_FILE = 2, P_RTP = 3, P_HTTP = 4 } |
Public Member Functions | |
| Url () | |
| Url (const Url &orig) | |
| Url (const char *url) | |
| ~Url () | |
| Url & | operator= (const Url &orig) |
| const char * | getUrl () const |
| const char * | getHost () const |
| const char * | getPath () const |
| Protocol | getProtocol () const |
| bool | isValid () const |
| void | validate (const char *input) |
| bool | hasPort () const |
| int | getPortAsInt () const |
Friends | |
| ostream & | operator<< (ostream &ostr, Protocol url) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
1.3.8