Package CedarBackup2 :: Package writers :: Module dvdwriter :: Class MediaCapacity
[show private | hide private]
[frames | no frames]

Type MediaCapacity

object --+
         |
        MediaCapacity


Class encapsulating information about DVD media capacity.

Space used and space available do not include any information about media lead-in or other overhead.
Method Summary
  __init__(self, bytesUsed, bytesAvailable)
Initializes a capacity object.
  _getBytesAvailable(self)
Property target available to get the bytes-available value.
  _getBytesUsed(self)
Property target used to get the bytes-used value.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
  bytesUsed: Space used on disc, in bytes.
  bytesAvailable: Space available on disc, in bytes.

Method Details

__init__(self, bytesUsed, bytesAvailable)
(Constructor)

Initializes a capacity object.
Raises:
ValueError - If the bytes used and available values are not floats.
Overrides:
__builtin__.object.__init__

_getBytesAvailable(self)

Property target available to get the bytes-available value.

_getBytesUsed(self)

Property target used to get the bytes-used value.

Property Details

bytesUsed

Space used on disc, in bytes.
Get Method:
_getBytesUsed(self)

bytesAvailable

Space available on disc, in bytes.
Get Method:
_getBytesAvailable(self)

Generated by Epydoc 2.1 on Thu Mar 29 20:58:26 2007 http://epydoc.sf.net