netaddr.eui.BaseIdentifier

Package netaddr :: Package eui :: Class BaseIdentifier |
[hide private]
[frames] | no frames]

# Class BaseIdentifier

    object --+
             |
            BaseIdentifier

Known Subclasses:
  - EUI
  - , IAB
  - , OUI

Base class for all IEEE identifiers.

Instance Methods | [hide private]
__init__(self) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
__int__(self) Returns: integer value of this identifier |
__long__(self) Returns: integer value of this identifier |
__oct__(self) Returns: octal string representation of this identifier. |
__hex__(self) Returns: hexadecimal string representation of this identifier. |
__index__(self) Returns: return the integer value of this identifier when passed to hex(), oct() or bin(). |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| _value
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self) (Constructor) |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### __int__(self) |
Returns: integer value of this identifier

### __long__(self) |
Returns: integer value of this identifier

### __oct__(self) |
Returns: octal string representation of this identifier.

### __hex__(self) |
Returns: hexadecimal string representation of this identifier.

### __index__(self) |
Returns: return the integer value of this identifier when passed to hex(), oct() or bin().