gHostAddr Class Reference

#include <gnet.h>

Inheritance diagram for gHostAddr:

gIpAddr gControl gStorage gTop List of all members.

Public Member Functions

 gHostAddr (char *hostStr)
 gHostAddr (t_uint8 c1, t_uint8 c2, t_uint8 c3, t_uint8 c4)
 gHostAddr (gIpAddr &ipAddr)
virtual ~gHostAddr ()
virtual bool IsOk ()
virtual t_ucharString ()
virtual char * GetHostName ()
virtual bool SetHostName (char *hostStr)
virtual void Show (bool doShowAll=true)

Protected Attributes

gString destHostStr

Constructor & Destructor Documentation

gHostAddr::gHostAddr char *  hostStr  ) 
 

Definition at line 311 of file gnet.cpp.

gHostAddr::gHostAddr t_uint8  c1,
t_uint8  c2,
t_uint8  c3,
t_uint8  c4
 

Definition at line 317 of file gnet.cpp.

gHostAddr::gHostAddr gIpAddr ipAddr  ) 
 

Definition at line 322 of file gnet.cpp.

gHostAddr::~gHostAddr  )  [virtual]
 

Definition at line 327 of file gnet.cpp.


Member Function Documentation

virtual char* gHostAddr::GetHostName  )  [inline, virtual]
 

Definition at line 143 of file gnet.h.

Referenced by gSocket::SetConnection().

bool gHostAddr::IsOk  )  [virtual]
 

Reimplemented from gIpAddr.

Definition at line 331 of file gnet.cpp.

Referenced by gTcpConnect::gTcpConnect(), and gSocket::SetConnection().

bool gHostAddr::SetHostName char *  hostStr  )  [virtual]
 

Definition at line 342 of file gnet.cpp.

Referenced by gSocket::SetConnection().

void gHostAddr::Show bool  doShowAll = true  )  [virtual]
 

Reimplemented from gIpAddr.

Definition at line 350 of file gnet.cpp.

t_uchar * gHostAddr::String  )  [virtual]
 

Reimplemented from gIpAddr.

Definition at line 336 of file gnet.cpp.

Referenced by Show(), and gTcpConnect::String().


Member Data Documentation

gString gHostAddr::destHostStr [protected]
 

Definition at line 154 of file gnet.h.

Referenced by GetHostName(), SetHostName(), Show(), and String().


The documentation for this class was generated from the following files:
Generated on Sat Aug 18 02:41:11 2007 for xpfweb_v2x lib by  doxygen 1.4.2