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

P::NetDb::ServiceEntry Class Reference
[Networking library]

NetDb Serviceentry class. More...

#include <pnetdb.h>

List of all members.

Public Member Functions

 ServiceEntry ()
 ServiceEntry (const ServiceEntry &s)
 ServiceEntry (const servent *s)
 ~ServiceEntry ()
const std::string & name () const
const std::string & alias (int num) const
port_t port () const
const std::string & protocol () const
ServiceEntryoperator= (const ServiceEntry &s)

Friends

class NetDb


Detailed Description

NetDb Serviceentry class.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 107 of file pnetdb.h.


Constructor & Destructor Documentation

P::NetDb::ServiceEntry::ServiceEntry  ) 
 

P::NetDb::ServiceEntry::ServiceEntry const ServiceEntry s  ) 
 

P::NetDb::ServiceEntry::ServiceEntry const servent *  s  ) 
 

P::NetDb::ServiceEntry::~ServiceEntry  ) 
 


Member Function Documentation

const std::string& P::NetDb::ServiceEntry::alias int  num  )  const [inline]
 

Definition at line 119 of file pnetdb.h.

const std::string& P::NetDb::ServiceEntry::name  )  const [inline]
 

Definition at line 116 of file pnetdb.h.

ServiceEntry& P::NetDb::ServiceEntry::operator= const ServiceEntry s  ) 
 

port_t P::NetDb::ServiceEntry::port  )  const [inline]
 

Definition at line 122 of file pnetdb.h.

References P::port_t.

const std::string& P::NetDb::ServiceEntry::protocol  )  const [inline]
 

Definition at line 125 of file pnetdb.h.


Friends And Related Function Documentation

friend class NetDb [friend]
 

Definition at line 108 of file pnetdb.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:35 2004 for P::Classes by doxygen 1.3.3