Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Properties | Static Private Attributes
MoinMoin.search.results.TitleMatch Class Reference
Inheritance diagram for MoinMoin.search.results.TitleMatch:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.search.results.TitleMatch:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __len__
def __eq__
def __ne__
def view
def weight

Public Attributes

 re_match

Properties

 start = property(_get_start)
 end = property(_get_end)

Static Private Attributes

float _weight = 100.0

Detailed Description

Represents a match in the page title

Has more weight than a match in the page content.

Definition at line 77 of file results.py.


Member Function Documentation

def MoinMoin.search.results.Match.__eq__ (   self,
  other 
) [inherited]

Definition at line 42 of file results.py.

00042 
00043     def __eq__(self, other):
00044         equal = (self.__class__ == other.__class__ and
00045                  self.start == other.start and
00046                  self.end == other.end)
00047         return equal

Here is the caller graph for this function:

def MoinMoin.search.results.Match.__len__ (   self) [inherited]

Definition at line 39 of file results.py.

00039 
00040     def __len__(self):
00041         return self.end - self.start

def MoinMoin.search.results.Match.__ne__ (   self,
  other 
) [inherited]

Definition at line 48 of file results.py.

00048 
00049     def __ne__(self, other):
00050         return not self.__eq__(other)

Here is the call graph for this function:

def MoinMoin.search.results.Match.view (   self) [inherited]

Definition at line 51 of file results.py.

00051 
00052     def view(self):
00053         return ''

def MoinMoin.search.results.Match.weight (   self) [inherited]

Definition at line 54 of file results.py.

00054 
00055     def weight(self):
00056         return self._weight


Member Data Documentation

float MoinMoin.search.results.TitleMatch._weight = 100.0 [static, private]

Reimplemented from MoinMoin.search.results.Match.

Definition at line 85 of file results.py.

Definition at line 32 of file results.py.


Property Documentation

MoinMoin.search.results.Match.end = property(_get_end) [static, inherited]

Definition at line 69 of file results.py.

MoinMoin.search.results.Match.start = property(_get_start) [static, inherited]

Definition at line 68 of file results.py.


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