#include <Address.h>
List of all members.
Public Member Functions |
| | Address () |
| | Constructor.
|
| virtual | ~Address () |
| | Destructor.
|
| bool | good () const |
| | Valid address is constructed.
|
| bool | bad () const |
| | Indicates whether there was error during address construction process i.e.
|
| | operator void * () const |
| | Conversion to void * (or bool) for testing where bool is required (in conditional statements).
|
| bool | operator! () const |
| | Alias to bad ().
|
| virtual const int | getLength () const =0 |
| | Return length of the underlying address structure.
|
| virtual SA * | getAddress () const =0 |
| | Retrieve pointer to the address structure.
|
| virtual void | dump () |
| | Dump object state to the log file.
|
Private Attributes |
| unsigned char | m_state |
Detailed Description
Definition at line 51 of file Address.h.
Member Typedef Documentation
Member Enumeration Documentation
State bits.
- Enumerator:
| goodbit |
good state
|
| badbit |
bad state
|
Definition at line 54 of file Address.h.
Constructor & Destructor Documentation
| ASSA::Address::Address |
( |
| ) |
|
|
inline |
| virtual ASSA::Address::~Address |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| bool ASSA::Address::bad |
( |
| ) |
const |
|
inline |
| virtual void ASSA::Address::dump |
( |
| ) |
|
|
inlinevirtual |
| virtual SA* ASSA::Address::getAddress |
( |
| ) |
const |
|
pure virtual |
| virtual const int ASSA::Address::getLength |
( |
| ) |
const |
|
pure virtual |
| bool ASSA::Address::good |
( |
| ) |
const |
|
inline |
| ASSA::Address::operator void * |
( |
| ) |
const |
|
inline |
Conversion to void * (or bool) for testing where bool is required (in conditional statements).
- Returns:
- true if valid address; false otherwise
Definition at line 86 of file Address.h.
References good().
{
return (
void*)
good (); }
| bool ASSA::Address::operator! |
( |
| ) |
const |
|
inline |
Alias to bad ().
- Returns:
- true if invaid address; false otherwise.
Definition at line 91 of file Address.h.
References bad().
| void ASSA::Address::setstate |
( |
addrstate |
flag_ | ) |
|
|
inlineprotected |
Member Data Documentation
| unsigned char ASSA::Address::m_state |
|
private |
The documentation for this class was generated from the following file:
- /build/buildd-libassa_3.5.1-2-powerpc-A6ztw4/libassa-3.5.1/assa/Address.h