Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TIPv6Addr Class Reference

#include <IPv6Addr.h>

+ Collaboration diagram for TIPv6Addr:

Public Member Functions

 TIPv6Addr ()
 TIPv6Addr (const char *addr, bool plain=false)
 TIPv6Addr (const char *prefix, const char *host, int prefixLength)
char * getAddr ()
char * getPlain ()
bool linkLocal ()
bool multicast ()
bool operator!= (const TIPv6Addr &other)
TIPv6Addr operator+ (const TIPv6Addr &other)
TIPv6Addroperator++ ()
 increases address by one
TIPv6Addr operator- (const TIPv6Addr &other)
TIPv6Addroperator-- ()
bool operator<= (const TIPv6Addr &other)
bool operator== (const TIPv6Addr &other)
void setAddr (char *addr)
char * storeSelf (char *buf)
void truncate (int minPrefix, int maxPrefix)

Private Attributes

char Addr [16]
char Plain [sizeof("0000:0000:0000:0000:0000:0000:0000.000.000.000.000")]

Friends

std::ostream & operator<< (std::ostream &out, TIPv6Addr &group)

Constructor & Destructor Documentation

TIPv6Addr::TIPv6Addr ( )
TIPv6Addr::TIPv6Addr ( const char *  addr,
bool  plain = false 
)
TIPv6Addr::TIPv6Addr ( const char *  prefix,
const char *  host,
int  prefixLength 
)

Member Function Documentation

char * TIPv6Addr::getAddr ( )
char * TIPv6Addr::getPlain ( )
bool TIPv6Addr::linkLocal ( )
bool TIPv6Addr::multicast ( )
bool TIPv6Addr::operator!= ( const TIPv6Addr other)
TIPv6Addr TIPv6Addr::operator+ ( const TIPv6Addr other)
TIPv6Addr & TIPv6Addr::operator++ ( )

increases address by one

TIPv6Addr TIPv6Addr::operator- ( const TIPv6Addr other)
TIPv6Addr & TIPv6Addr::operator-- ( )

Decreases randomly an address

Returns
bool TIPv6Addr::operator<= ( const TIPv6Addr other)
bool TIPv6Addr::operator== ( const TIPv6Addr other)
void TIPv6Addr::setAddr ( char *  addr)
char * TIPv6Addr::storeSelf ( char *  buf)
void TIPv6Addr::truncate ( int  minPrefix,
int  maxPrefix 
)

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
TIPv6Addr group 
)
friend

Member Data Documentation

char TIPv6Addr::Addr[16]
private
char TIPv6Addr::Plain[sizeof("0000:0000:0000:0000:0000:0000:0000.000.000.000.000")]
private

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