CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
svgfig.Curve.Samples Class Reference

end Sample More...

Public Member Functions

def __init__
 
def __iter__
 
def __len__
 
def __repr__
 
def next
 

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.

1555  def __init__(self, left, right): self.left, self.right = left, right

Member Function Documentation

def svgfig.Curve.Samples.__iter__ (   self)

Definition at line 1564 of file svgfig.py.

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

Definition at line 1556 of file svgfig.py.

References Random_struct.left, TkTrackingRegionsMargin< T >.left(), TkTrackingRegionsMargin< float >.left(), ShallowClustersProducer::NearDigis.left, KDTreeNode.left, and progressbar.Bar.left.

1557  def __len__(self):
1558  count = 0
1559  current = self.left
1560  while current != None:
1561  count += 1
1562  current = current.right
1563  return count
def svgfig.Curve.Samples.__repr__ (   self)

Definition at line 1552 of file svgfig.py.

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

Definition at line 1568 of file svgfig.py.

References svgfig.Curve.Samples.current.

Referenced by BeautifulSoup.PageElement._invert().

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

Member Data Documentation

svgfig.Curve.Samples.current

Definition at line 1565 of file svgfig.py.

Referenced by XML2Python.TreeBuilder.__init__(), python.XML2Python.TreeBuilder.endElement(), XML2Python.TreeBuilder.endElement(), svgfig.Curve.Samples.next(), python.XML2Python.TreeBuilder.startElement(), and XML2Python.TreeBuilder.startElement().

svgfig.Curve.Samples.right

Definition at line 1554 of file svgfig.py.

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