Table of Contents

Class: IpNetMask daxfi/iplib.py

A CIDR netmask.

This class represents a CIDR netmask.

Methods   
__init__
get
get_bin
get_dec
get_dot
set
  __init__ 
__init__ ( self,  nm='' )

  get 
get ( self )

Return the netmask.

  get_bin 
get_bin ( self )

Return the binary notation of the netmask.

  get_dec 
get_dec ( self )

Return the decimal notation of the netmask.

  get_dot 
get_dot ( self )

Return the dotted decimal notation of the netmask.

  set 
set ( self,  nm )

Set the netmask.


Table of Contents

This document was automatically generated on Tue Apr 16 19:50:50 2002 by HappyDoc version r1_5