CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 1552 of file svgfig.py.

Constructor & Destructor Documentation

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

Definition at line 1555 of file svgfig.py.

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

Member Function Documentation

def svgfig.Curve.Samples.__iter__ (   self)

Definition at line 1565 of file svgfig.py.

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

Definition at line 1557 of file svgfig.py.

References Random_struct.left, TkTrackingRegionsMargin< T >.left(), TkTrackingRegionsMargin< float >.left(), CandsGPU::BestCands< MaxCandsPerSeed, BlockSize >.left(), ShallowClustersProducer::NearDigis.left, JME::bimap< Binning, std::string >.left, JME::bimap< T, U >.left, BinaryOP.left, progressbar.Bar.left, ecaldqm::MESet::const_iterator.left(), and ecaldqm::MESet::iterator.left().

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

Definition at line 1553 of file svgfig.py.

Referenced by data_sources.json_file.__str__().

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

Definition at line 1569 of file svgfig.py.

References svgfig.Curve.Samples.current.

Referenced by BeautifulSoup.PageElement._invert().

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

Member Data Documentation

svgfig.Curve.Samples.current

Definition at line 1566 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 1555 of file svgfig.py.

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