Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
AdvancedQuery.AdvancedQuery._BaseQuery Class Reference

Query classes. More...

Inheritance diagram for AdvancedQuery.AdvancedQuery._BaseQuery:
Inheritance graph
Collaboration diagram for AdvancedQuery.AdvancedQuery._BaseQuery:
Collaboration graph

List of all members.

Public Member Functions

def __str__
def __and__
def __or__
def __invert__

Private Member Functions

def _eval
def _clone

Detailed Description

Query classes.

'Query' base class.

Definition at line 25 of file

Member Function Documentation

self & other

Definition at line 35 of file

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

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

def AdvancedQuery.AdvancedQuery._BaseQuery.__or__ (   self,
self | other

Definition at line 42 of file

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:

ATT: not a true clone operation.

Reimplemented in AdvancedQuery.AdvancedQuery._CompositeQuery.

Definition at line 53 of file

00054   def _clone(self):
00055     '''ATT: not a true clone operation.'''
00056     return self

Here is the caller graph for this function:

def AdvancedQuery.AdvancedQuery._BaseQuery._eval (   self,
) [private]

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