WvStreams
WvUrl Class Reference

Public Member Functions

 WvUrl (WvStringParm url)
 WvUrl (const WvUrl &url)
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
 WvUrl (WvStringParm url)
 WvUrl (const WvUrl &url)
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

Detailed Description

Constructor & Destructor Documentation

◆ WvUrl() [1/2]

WvUrl::WvUrl ( WvStringParm url)

Definition at line 63 of file wvurl.cc.

◆ WvUrl() [2/2]

WvUrl::WvUrl ( const WvUrl & url)

Definition at line 142 of file wvurl.cc.

◆ ~WvUrl()

WvUrl::~WvUrl ( )

Definition at line 158 of file wvurl.cc.

Member Function Documentation

◆ isok() [1/2]

bool WvUrl::isok ( ) const
inline

◆ errstr() [1/2]

WvStringParm WvUrl::errstr ( ) const
inline

◆ resolve()

bool WvUrl::resolve ( )

Definition at line 164 of file wvurl.cc.

◆ operator WvString()

WvUrl::operator WvString ( ) const

Definition at line 193 of file wvurl.cc.

◆ getproto() [1/2]

WvStringParm WvUrl::getproto ( ) const
inline

◆ getaddr() [1/2]

const WvIPPortAddr WvUrl::getaddr ( ) const
inline

◆ getfile() [1/2]

WvStringParm WvUrl::getfile ( ) const
inline

◆ gethost() [1/2]

WvStringParm WvUrl::gethost ( ) const
inline

◆ getport() [1/2]

int WvUrl::getport ( ) const
inline

◆ getuser() [1/2]

WvStringParm WvUrl::getuser ( ) const
inline

◆ getpassword() [1/2]

WvStringParm WvUrl::getpassword ( ) const
inline

◆ isok() [2/2]

bool WvUrl::isok ( ) const
inline

Definition at line 23 of file include/wvurl.h.

◆ errstr() [2/2]

WvStringParm WvUrl::errstr ( ) const
inline

Definition at line 25 of file include/wvurl.h.

◆ getproto() [2/2]

WvStringParm WvUrl::getproto ( ) const
inline

Definition at line 34 of file include/wvurl.h.

◆ getaddr() [2/2]

const WvIPPortAddr WvUrl::getaddr ( ) const
inline

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

◆ getfile() [2/2]

WvStringParm WvUrl::getfile ( ) const
inline

Definition at line 41 of file include/wvurl.h.

◆ gethost() [2/2]

WvStringParm WvUrl::gethost ( ) const
inline

Definition at line 43 of file include/wvurl.h.

◆ getport() [2/2]

int WvUrl::getport ( ) const
inline

Definition at line 45 of file include/wvurl.h.

◆ getuser() [2/2]

WvStringParm WvUrl::getuser ( ) const
inline

Definition at line 47 of file include/wvurl.h.

◆ getpassword() [2/2]

WvStringParm WvUrl::getpassword ( ) const
inline

Definition at line 49 of file include/wvurl.h.

Member Data Documentation

◆ proto

WvString WvUrl::proto
protected

◆ hostname

WvString WvUrl::hostname
protected

◆ user

WvString WvUrl::user
protected

◆ password

WvString WvUrl::password
protected

◆ port

int WvUrl::port
protected

◆ resolving

bool WvUrl::resolving
protected

◆ dns

WvResolver WvUrl::dns
protected

◆ addr

WvIPPortAddr * WvUrl::addr
protected

◆ file

WvString WvUrl::file
protected

◆ err

WvString WvUrl::err
protected

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