Table of Contents

Class: IpAddress daxfi/iplib.py

An IPv4 Internet address.

This class represents an IPv4 Internet address.

Methods   
__init__
get
get_bin
get_dec
get_dot
get_hex
get_oct
set
  __init__ 
__init__ ( self,  ip='' )

  get 
get ( self )

Return the address.

  get_bin 
get_bin ( self )

Return the binary notation of the address.

  get_dec 
get_dec ( self )

Return the decimal notation of the address.

  get_dot 
get_dot ( self )

Return the dotted decimal notation of the address.

  get_hex 
get_hex ( self )

Return the hexadecimal notation of the address.

  get_oct 
get_oct ( self )

Return the octal notation of the address.

  set 
set ( self,  ip )

Set the IP address.


Table of Contents

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