Back to index

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

List of all members.

Public Member Functions

def __init__
def __contains__

Public Attributes

 offset
 size

Detailed Description

Base class for _data and _hole.

Definition at line 2081 of file tarfile.py.


Constructor & Destructor Documentation

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

Definition at line 2084 of file tarfile.py.

02084 
02085     def __init__(self, offset, size):
02086         self.offset = offset
        self.size = size

Member Function Documentation

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

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 2086 of file tarfile.py.


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