CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
svgfig.Curve.Samples Class Reference

end Sample More...

Public Member Functions

def __init__ (self, left, right)
 
def __iter__ (self)
 
def __len__ (self)
 
def __repr__ (self)
 
def next (self)
 

Public Attributes

 current
 
 right
 

Detailed Description

end Sample

nested class Samples

Definition at line 1551 of file svgfig.py.

Constructor & Destructor Documentation

def svgfig.Curve.Samples.__init__ (   self,
  left,
  right 
)

Definition at line 1554 of file svgfig.py.

1554  def __init__(self, left, right): self.left, self.right = left, right
1555 
def __init__(self, left, right)
Definition: svgfig.py:1554

Member Function Documentation

def svgfig.Curve.Samples.__iter__ (   self)

Definition at line 1564 of file svgfig.py.

1564  def __iter__(self):
1565  self.current = self.left
1566  return self
1567 
def __iter__(self)
Definition: svgfig.py:1564
def svgfig.Curve.Samples.__len__ (   self)
def svgfig.Curve.Samples.__repr__ (   self)

Definition at line 1552 of file svgfig.py.

Referenced by data_sources.json_file.__str__().

1552  def __repr__(self): return "<Curve.Samples (%d samples)>" % len(self)
1553 
def __repr__(self)
Definition: svgfig.py:1552
def svgfig.Curve.Samples.next (   self)

Definition at line 1568 of file svgfig.py.

References svgfig.Curve.Samples.current.

1568  def next(self):
1569  current = self.current
1570  if current == None: raise StopIteration
1571  self.current = self.current.right
1572  return current
1573  ### end nested class
def next(self)
Definition: svgfig.py:1568

Member Data Documentation

svgfig.Curve.Samples.current
svgfig.Curve.Samples.right

Definition at line 1554 of file svgfig.py.

Referenced by progressbar.Bar.update(), and progressbar.BouncingBar.update().