Back to index

plone3  3.1.7
Public Member Functions | Static Private Attributes
AdvancedQuery.AdvancedQuery.In Class Reference
Inheritance diagram for AdvancedQuery.AdvancedQuery.In:
Inheritance graph
Collaboration diagram for AdvancedQuery.AdvancedQuery.In:
Collaboration graph

List of all members.

Public Member Functions

def __str__
def __and__
def __or__
def __invert__

Static Private Attributes

string _OP = 'in'

Detailed Description

Definition at line 113 of file

Member Function Documentation

def AdvancedQuery.AdvancedQuery._BaseQuery.__and__ (   self,
) [inherited]
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,
) [inherited]
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:

Reimplemented from AdvancedQuery.AdvancedQuery._BaseQuery.

Reimplemented in AdvancedQuery.AdvancedQuery.Between.

Definition at line 68 of file

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

Member Data Documentation

string AdvancedQuery.AdvancedQuery.In._OP = 'in' [static, private]

Reimplemented from AdvancedQuery.AdvancedQuery.Generic.

Definition at line 114 of file

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