Logo Search packages:      
Sourcecode: pwlib version File versions

PIpAccessControlEntry Class Reference

#include <ipacl.h>

Inheritance diagram for PIpAccessControlEntry:

PObject

List of all members.


Detailed Description

This class is a single IP access control specification.

Definition at line 67 of file ipacl.h.


Comparison functions

virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator>= (const PObject &obj) const
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
virtual BOOL InternalIsDescendant (const char *clsName) const
BOOL IsClass (const char *cls) const
static const char * Class ()

Public Member Functions

PString AsString () const
virtual Comparison Compare (const PObject &obj) const
const PIPSocket::AddressGetAddress () const
const PStringGetDomain () const
const PIPSocket::AddressGetMask () const
BOOL IsAllowed () const
BOOL IsHidden () const
BOOL IsValid ()
BOOL Match (PIPSocket::Address &address)
PIpAccessControlEntryoperator= (const char *cstr)
PIpAccessControlEntryoperator= (const PString &pstr)
BOOL Parse (const PString &description)
 PIpAccessControlEntry (const PString &description)
 PIpAccessControlEntry (PIPSocket::Address addr, PIPSocket::Address msk, BOOL allow)
virtual void PrintOn (ostream &strm) const
virtual void ReadFrom (istream &strm)
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Protected Attributes

PIPSocket::Address address
BOOL allowed
PString domain
BOOL hidden
PIPSocket::Address mask

Friends

I/O functions
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

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

Generated by  Doxygen 1.6.0   Back to index