WeURL Class Reference

URL storage and operations. More...

#include <weUrl.h>

List of all members.

Public Member Functions

 WeURL ()
 WeURL (const string url)
 WeURL (const WeURL &url)
 ~WeURL ()
WeURLoperator= (const string url)
WeURLoperator= (const WeURL &url)
string & ToString (bool noDefPort=true)
void Assign (string url)
void Restore (string url, WeURL *base=NULL)
bool IsValid (void)

Public Attributes

string protocol
 transfer protocol
string host
 hostname
unsigned port
 port number
string request
 request path
string params
 request parameters
string username
 username
string password
 password


Detailed Description

URL storage and operations.

Author:
A. Abramov
Date:
29.05.2009

Definition at line 36 of file weUrl.h.


Constructor & Destructor Documentation

WeURL::WeURL (  ) 

Definition at line 53 of file weUrl.cpp.

WeURL::WeURL ( const string  url  ) 

Definition at line 61 of file weUrl.cpp.

WeURL::WeURL ( const WeURL url  ) 

Definition at line 70 of file weUrl.cpp.

WeURL::~WeURL (  ) 

Definition at line 82 of file weUrl.cpp.


Member Function Documentation

void WeURL::Assign ( string  url  ) 

Definition at line 124 of file weUrl.cpp.

bool WeURL::IsValid ( void   ) 

Definition at line 273 of file weUrl.cpp.

WeURL & WeURL::operator= ( const WeURL url  ) 

Definition at line 87 of file weUrl.cpp.

WeURL& WeURL::operator= ( const string  url  )  [inline]

Definition at line 44 of file weUrl.h.

void WeURL::Restore ( string  url,
WeURL base = NULL 
)

Definition at line 208 of file weUrl.cpp.

string & WeURL::ToString ( bool  noDefPort = true  ) 

Examples:
httpget.cpp.

Definition at line 100 of file weUrl.cpp.


Member Data Documentation

string WeURL::host

hostname

Definition at line 54 of file weUrl.h.

string WeURL::params

request parameters

Definition at line 57 of file weUrl.h.

password

Definition at line 59 of file weUrl.h.

unsigned WeURL::port

port number

Definition at line 55 of file weUrl.h.

transfer protocol

Definition at line 53 of file weUrl.h.

request path

Definition at line 56 of file weUrl.h.

username

Definition at line 58 of file weUrl.h.


The documentation for this class was generated from the following files:


 
©2009 Positive Technologies
 
Generated on Tue Jul 14 18:27:32 2009 for WebEngine by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads