Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions | Static Private Attributes
AdvancedQuery.AdvancedQuery.MatchRegexp Class Reference
Inheritance diagram for AdvancedQuery.AdvancedQuery.MatchRegexp:
Inheritance graph
[legend]
Collaboration diagram for AdvancedQuery.AdvancedQuery.MatchRegexp:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __str__
def __and__
def __or__
def __invert__

Private Member Functions

def _functor

Static Private Attributes

string _OP = '=~~'

Detailed Description

idx = term

Definition at line 105 of file AdvancedQuery.py.


Member Function Documentation

def AdvancedQuery.AdvancedQuery._BaseQuery.__and__ (   self,
  other 
) [inherited]
self & other

Definition at line 35 of file AdvancedQuery.py.

00035 
00036   def __and__(self, other):
00037     '''self & other'''
00038     if isinstance(self,And): r = self._clone()
00039     else: r = And(self)
00040     r.addSubquery(other)
00041     return r

Here is the call graph for this function:

~ self

Definition at line 49 of file AdvancedQuery.py.

00049 
00050   def __invert__(self):
00051     '''~ self'''
00052     return Not(self)

def AdvancedQuery.AdvancedQuery._BaseQuery.__or__ (   self,
  other 
) [inherited]
self | other

Definition at line 42 of file AdvancedQuery.py.

00042 
00043   def __or__(self, other):
00044     '''self | other'''
00045     if isinstance(self,Or): r = self._clone()
00046     else: r = Or(self)
00047     r.addSubquery(other)
00048     return r

Here is the call graph for this function:

Reimplemented from AdvancedQuery.AdvancedQuery._BaseQuery.

Reimplemented in AdvancedQuery.AdvancedQuery.Between.

Definition at line 68 of file AdvancedQuery.py.

00068 
00069   def __str__(self):
00070     return '%s %s %r' % (self._idx, self._OP, self._term)

def AdvancedQuery.AdvancedQuery.MatchRegexp._functor (   self,
  term 
) [private]

Definition at line 108 of file AdvancedQuery.py.

00108 
00109   def _functor(self,term): return {'query':term, 'match':'regexp'}


Member Data Documentation

string AdvancedQuery.AdvancedQuery.MatchRegexp._OP = '=~~' [static, private]

Reimplemented from AdvancedQuery.AdvancedQuery._ElementaryQuery.

Definition at line 107 of file AdvancedQuery.py.


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