Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.support.tarfile._data Class Reference
Inheritance diagram for MoinMoin.support.tarfile._data:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.tarfile._data:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __contains__

Public Attributes

 realpos
 offset
 size

Detailed Description

Represent a data section in a sparse file.

Definition at line 2090 of file tarfile.py.


Constructor & Destructor Documentation

def MoinMoin.support.tarfile._data.__init__ (   self,
  offset,
  size,
  realpos 
)

Definition at line 2093 of file tarfile.py.

02093 
02094     def __init__(self, offset, size, realpos):
02095         _section.__init__(self, offset, size)
02096         self.realpos = realpos


Member Function Documentation

def MoinMoin.support.tarfile._section.__contains__ (   self,
  offset 
) [inherited]

Definition at line 2087 of file tarfile.py.

02087 
02088     def __contains__(self, offset):
02089         return self.offset <= offset < self.offset + self.size


Member Data Documentation

Definition at line 2085 of file tarfile.py.

Definition at line 2095 of file tarfile.py.

Definition at line 2086 of file tarfile.py.


The documentation for this class was generated from the following file: