Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

WvUrl Class Reference

#include <wvurl.h>

Collaboration diagram for WvUrl:

[legend]
List of all members.

Public Member Functions

 WvUrl (WvStringParm url)
 WvUrl (const WvUrl &url)
 ~WvUrl ()
bool isok () const
WvStringParm errstr () const
bool resolve ()
 operator WvString () const
const WvUrloperator= (const WvUrl &)
WvStringParm getproto () const
const WvIPPortAddr getaddr () const
WvStringParm getfile () const
WvStringParm gethost () const
int getport () const
WvStringParm getuser () const
WvStringParm getpassword () const

Protected Attributes

WvString proto
WvString hostname
WvString user
WvString password
int port
bool resolving
WvResolver dns
WvIPPortAddraddr
WvString file
WvString err

Constructor & Destructor Documentation

WvUrl::WvUrl WvStringParm  url  ) 
 

Definition at line 60 of file wvurl.cc.

References addr, WvString::edit(), err, file, get_default_port(), hostname, password, port, proto, protocol_uses_slashes(), resolve(), resolving, trim_string(), user, WvStringParm, and WvUrl().

Referenced by WvUrl().

WvUrl::WvUrl const WvUrl url  ) 
 

Definition at line 139 of file wvurl.cc.

References addr, file, hostname, password, port, proto, resolve(), resolving, user, and WvUrl().

WvUrl::~WvUrl  ) 
 

Definition at line 155 of file wvurl.cc.

References addr.


Member Function Documentation

WvStringParm WvUrl::errstr  )  const [inline]
 

Definition at line 25 of file wvurl.h.

References err.

Referenced by WvHTTPStream::errstr().

const WvIPPortAddr WvUrl::getaddr  )  const [inline]
 

Definition at line 38 of file wvurl.h.

References addr.

Referenced by WvHTTPStream::pre_select().

WvStringParm WvUrl::getfile  )  const [inline]
 

Definition at line 41 of file wvurl.h.

References file.

Referenced by WvFtpStream::execute(), and WvHTTPStream::pre_select().

WvStringParm WvUrl::gethost  )  const [inline]
 

Definition at line 43 of file wvurl.h.

References hostname.

Referenced by WvFtpStream::execute(), and WvHTTPStream::pre_select().

WvStringParm WvUrl::getpassword  )  const [inline]
 

Definition at line 49 of file wvurl.h.

References password.

int WvUrl::getport  )  const [inline]
 

Definition at line 45 of file wvurl.h.

References port.

Referenced by WvHTTPStream::pre_select().

WvStringParm WvUrl::getproto  )  const [inline]
 

Definition at line 34 of file wvurl.h.

References proto.

WvStringParm WvUrl::getuser  )  const [inline]
 

Definition at line 47 of file wvurl.h.

References user.

Referenced by WvFtpStream::execute().

bool WvUrl::isok  )  const [inline]
 

Definition at line 23 of file wvurl.h.

References addr, port, and resolving.

Referenced by WvUrlStream::addurl(), WvHTTPStream::errstr(), WvHTTPStream::isok(), operator WvString(), and WvHTTPStream::pre_select().

WvUrl::operator WvString  )  const
 

Definition at line 190 of file wvurl.cc.

References addr, WvString::append(), err, file, get_default_port(), hostname, isok(), WvFastString::len(), password, port, proto, protocol_uses_slashes(), and user.

const WvUrl& WvUrl::operator= const WvUrl  ) 
 

bool WvUrl::resolve  ) 
 

Definition at line 161 of file wvurl.cc.

References addr, dns, err, WvResolver::findaddr(), hostname, port, and resolving.

Referenced by WvHTTPStream::pre_select(), WvHTTPStream::WvHTTPStream(), and WvUrl().


Member Data Documentation

WvIPPortAddr* WvUrl::addr [protected]
 

Definition at line 57 of file wvurl.h.

Referenced by getaddr(), isok(), operator WvString(), resolve(), WvUrl(), and ~WvUrl().

WvResolver WvUrl::dns [protected]
 

Definition at line 56 of file wvurl.h.

Referenced by resolve().

WvString WvUrl::err [protected]
 

Definition at line 58 of file wvurl.h.

Referenced by errstr(), operator WvString(), resolve(), and WvUrl().

WvString WvUrl::file [protected]
 

Definition at line 58 of file wvurl.h.

Referenced by getfile(), operator WvString(), and WvUrl().

WvString WvUrl::hostname [protected]
 

Definition at line 53 of file wvurl.h.

Referenced by gethost(), operator WvString(), resolve(), and WvUrl().

WvString WvUrl::password [protected]
 

Definition at line 53 of file wvurl.h.

Referenced by getpassword(), operator WvString(), and WvUrl().

int WvUrl::port [protected]
 

Definition at line 54 of file wvurl.h.

Referenced by getport(), isok(), operator WvString(), resolve(), and WvUrl().

WvString WvUrl::proto [protected]
 

Definition at line 53 of file wvurl.h.

Referenced by getproto(), operator WvString(), and WvUrl().

bool WvUrl::resolving [protected]
 

Definition at line 55 of file wvurl.h.

Referenced by isok(), resolve(), and WvUrl().

WvString WvUrl::user [protected]
 

Definition at line 53 of file wvurl.h.

Referenced by getuser(), operator WvString(), and WvUrl().


The documentation for this class was generated from the following files:
Generated on Tue Oct 5 01:09:34 2004 for WvStreams by doxygen 1.3.7