Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__
def __and__
def __or__
def __invert__

Private Member Functions

def _eval

Private Attributes

 _idx

Detailed Description

Definition at line 128 of file AdvancedQuery.py.


Constructor & Destructor Documentation

Definition at line 129 of file AdvancedQuery.py.

00129 
00130   def __init__(self, idx):
00131     self._idx = idx

Here is the caller graph for this function:


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.

Definition at line 132 of file AdvancedQuery.py.

00132 
00133   def __str__(self): return 'Indexed(%s)' % self._idx

def AdvancedQuery.AdvancedQuery.Indexed._eval (   self,
  context 
) [private]

Reimplemented from AdvancedQuery.AdvancedQuery._BaseQuery.

Definition at line 134 of file AdvancedQuery.py.

00134 
00135   def _eval(self,context):
00136     return context._indexed(self._idx)
00137 


Member Data Documentation

Definition at line 130 of file AdvancedQuery.py.


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