Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

WvURL Class Reference

#include <wvhttp.h>

List of all members.

Public Methods

 WvURL (const WvString &url)
 ~WvURL ()
bool isok () const
const WvString & errstr () const
bool resolve ()
 operator WvString () const
const WvIPPortAddr & getaddr () const
const WvString & getfile () const
 WvURL (const WvString &url)
 ~WvURL ()
bool isok () const
const WvString & errstr () const
bool resolve ()
 operator WvString () const
const WvIPPortAddr & getaddr () const
const WvString & getfile () const

Protected Attributes

WvString hostname
int port
bool resolving
WvResolver dns
WvIPPortAddr * addr
WvString file
WvString err
WvIPPortAddr * addr


Constructor & Destructor Documentation

WvURL::WvURL (  const WvString &    url ) 
 

Definition at line 17 of file wvhttp.cc.

References addr, WvString::edit(), err, file, hostname, port, resolve(), resolving, and WvString::unique().

WvURL::~WvURL (    ) 
 

Definition at line 62 of file wvhttp.cc.

References addr.

WvURL::WvURL (  const WvString &    url ) 
 

WvURL::~WvURL (    ) 
 


Member Function Documentation

const WvString& WvURL::errstr (    )  const [inline]
 

Definition at line 21 of file ipstreams/wvhttp.h.

References err.

const WvString& WvURL::errstr (    )  const [inline]
 

Definition at line 21 of file include/wvhttp.h.

References err.

Referenced by WvHTTPStream::errstr().

const WvIPPortAddr& WvURL::getaddr (    )  const [inline]
 

Definition at line 28 of file ipstreams/wvhttp.h.

References addr.

const WvIPPortAddr& WvURL::getaddr (    )  const [inline]
 

Definition at line 28 of file include/wvhttp.h.

References addr.

Referenced by WvHTTPStream::pre_select().

const WvString& WvURL::getfile (    )  const [inline]
 

Definition at line 30 of file ipstreams/wvhttp.h.

References file.

const WvString& WvURL::getfile (    )  const [inline]
 

Definition at line 30 of file include/wvhttp.h.

References file.

Referenced by WvHTTPStream::pre_select().

bool WvURL::isok (    )  const [inline]
 

Definition at line 19 of file ipstreams/wvhttp.h.

References addr, port, and resolving.

bool WvURL::isok (    )  const [inline]
 

Definition at line 19 of file include/wvhttp.h.

References addr, port, and resolving.

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

WvURL::operator WvString (    )  const
 

WvURL::operator WvString (    )  const
 

Definition at line 97 of file wvhttp.cc.

References addr, err, file, hostname, isok(), and port.

bool WvURL::resolve (    ) 
 

bool WvURL::resolve (    ) 
 

Definition at line 68 of file wvhttp.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 38 of file ipstreams/wvhttp.h.

WvIPPortAddr* WvURL::addr [protected]
 

Definition at line 38 of file include/wvhttp.h.

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

WvResolver WvURL::dns [protected]
 

Definition at line 37 of file ipstreams/wvhttp.h.

Referenced by resolve().

WvString WvURL::err [protected]
 

Definition at line 39 of file ipstreams/wvhttp.h.

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

WvString WvURL::file [protected]
 

Definition at line 39 of file ipstreams/wvhttp.h.

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

WvString WvURL::hostname [protected]
 

Definition at line 34 of file ipstreams/wvhttp.h.

Referenced by operator WvString(), resolve(), and WvURL().

int WvURL::port [protected]
 

Definition at line 35 of file ipstreams/wvhttp.h.

Referenced by isok(), operator WvString(), resolve(), and WvURL().

bool WvURL::resolving [protected]
 

Definition at line 36 of file ipstreams/wvhttp.h.

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


The documentation for this class was generated from the following files:
Generated on Fri Apr 5 15:16:57 2002 for WvStreams by doxygen1.2.15