\section{ost::IPV6Mask Class Reference} \label{classost_1_1_i_p_v6_mask}\index{ost::IPV6Mask@{ost::IPV6Mask}} Internet addresses used specifically as masking addresses (such as \char`\"{} 255.255.255.0\char`\"{}) are held in the {\bf IPV6Mask}{\rm (p.\,\pageref{classost_1_1_i_p_v6_mask})} derived object.Internet Address Mask such as subnet masks. {\tt \#include $<$address.h$>$} Inheritance diagram for ost::IPV6Mask::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classost_1_1_i_p_v6_mask} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{CompactItemize} \item {\bf IPV6Mask} (const char $\ast$mask) \begin{CompactList}\small\item\em Create the mask from a null terminated ASCII string such as \char`\"{}255.255.255.128\char`\"{}. \item\end{CompactList}\end{CompactItemize} \subsection*{Friends} \begin{CompactItemize} \item \_\-\_\-EXPORT {\bf IPV6Host} {\bf operator \&} (const {\bf IPV6Host} \&addr, const {\bf IPV6Mask} \&mask) \begin{CompactList}\small\item\em Masks are usually used to coerce host addresses into a specific router or class domain. \item\end{CompactList}\end{CompactItemize} \subsection{Detailed Description} Internet addresses used specifically as masking addresses (such as \char`\"{} 255.255.255.0\char`\"{}) are held in the {\bf IPV6Mask}{\rm (p.\,\pageref{classost_1_1_i_p_v6_mask})} derived object.Internet Address Mask such as subnet masks. The seperate class is used so that C++ type casting can automatically determine when an {\bf IPV6Address}{\rm (p.\,\pageref{classost_1_1_i_p_v6_address})} 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. \begin{Desc} \item[Author:]David Sugar $<${\tt dyfet@ostel.com}$>$ \end{Desc} \subsection{Constructor \& Destructor Documentation} \index{ost::IPV6Mask@{ost::IPV6Mask}!IPV6Mask@{IPV6Mask}} \index{IPV6Mask@{IPV6Mask}!ost::IPV6Mask@{ost::IPV6Mask}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::IPV6Mask::IPV6Mask (const char $\ast$ {\em mask})}\label{classost_1_1_i_p_v6_mask_4c98eded1ed6405a01c5f4caf4afb28a} Create the mask from a null terminated ASCII string such as \char`\"{}255.255.255.128\char`\"{}. \begin{Desc} \item[Parameters:] \begin{description} \item[{\em mask}]null terminated ASCII mask string. \end{description} \end{Desc} \subsection{Friends And Related Function Documentation} \index{ost::IPV6Mask@{ost::IPV6Mask}!operator &@{operator \&}} \index{operator &@{operator \&}!ost::IPV6Mask@{ost::IPV6Mask}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}\_\-\_\-EXPORT {\bf IPV6Host} operator \& (const {\bf IPV6Host} \& {\em addr}, const {\bf IPV6Mask} \& {\em mask})\hspace{0.3cm}{\tt [friend]}}\label{classost_1_1_i_p_v6_mask_a549218f4f7a926f01f9f62cacbbffb6} 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 \char`\"{}and\char`\"{}ing it with an address mask. This operation can be directly expressed in C++ through the \& operator. \begin{Desc} \item[Returns:]a internet host address that has been masked. \end{Desc} \begin{Desc} \item[Parameters:] \begin{description} \item[{\em addr}]host address to be masked by subnet. \item[{\em mask}]inetnet mask address object to mask by. \end{description} \end{Desc} The documentation for this class was generated from the following file:\begin{CompactItemize} \item {\bf address.h}\end{CompactItemize}