#include <address.h>

Public Member Functions | |
| IPV6Mask (const char *mask) | |
| Create the mask from a null terminated ASCII string such as "255.255.255.128". | |
Friends | |
| __EXPORT IPV6Host | operator & (const IPV6Host &addr, const IPV6Mask &mask) |
| Masks are usually used to coerce host addresses into a specific router or class domain. | |
The seperate class is used so that C++ type casting can automatically determine when an IPV6Address object is really a mask address object rather than simply using the base class. This also allows manipulative operators for address masking to operate only when presented with a Masked address as well as providing cleaner and safer source.
| ost::IPV6Mask::IPV6Mask | ( | const char * | mask | ) |
Create the mask from a null terminated ASCII string such as "255.255.255.128".
| mask | null terminated ASCII mask string. |
Masks are usually used to coerce host addresses into a specific router or class domain.
This can be done by taking the Inet Host Address object and "and"ing it with an address mask. This operation can be directly expressed in C++ through the & operator.
| addr | host address to be masked by subnet. | |
| mask | inetnet mask address object to mask by. |
1.5.4