CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
models.Range Class Reference
Inheritance diagram for models.Range:
models.ContinuousRange

Public Member Functions

def __init__ (self, start, end)
 
- Public Member Functions inherited from models.ContinuousRange
def __init__ (self)
 
def get_end (self)
 
def get_start (self)
 

Private Attributes

 _end
 
 _start
 

Detailed Description

Used to tell proxy methods that a range of values defined by a start and end point should be queried for - special case of filter clauses.

Definition at line 116 of file models.py.

Constructor & Destructor Documentation

def models.Range.__init__ (   self,
  start,
  end 
)
centre and radius should be objects that can be added and subtracted.
eg, centre could be a datetime.datetime object, and radius could be datetime.timedelta

Radius and Range objects are assigned to properties of querying.connection objects, hence are given the database type.

Definition at line 120 of file models.py.

120  def __init__(self, start, end):
121  """
122  centre and radius should be objects that can be added and subtracted.
123  eg, centre could be a datetime.datetime object, and radius could be datetime.timedelta
124 
125  Radius and Range objects are assigned to properties of querying.connection objects, hence are given the database type.
126  """
127  self._start = start
128  self._end = end
129 
def __init__(self, start, end)
Definition: models.py:120

Member Data Documentation

models.Range._end
private

Definition at line 128 of file models.py.

Referenced by models.ContinuousRange.get_end().

models.Range._start
private

Definition at line 127 of file models.py.

Referenced by models.ContinuousRange.get_start().