Back to index

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

List of all members.

Public Member Functions

def __str__
def __and__
def __or__
def __invert__

Static Private Attributes

string _OP = '~~'

Detailed Description

Definition at line 110 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)


Member Data Documentation

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

Reimplemented from AdvancedQuery.AdvancedQuery._ElementaryQuery.

Reimplemented in AdvancedQuery.AdvancedQuery.In.

Definition at line 111 of file AdvancedQuery.py.


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