Back to index

salome-paravis  6.5.0
Public Member Functions | Public Attributes
paravisSM.FieldDataInformationIterator Class Reference

List of all members.

Public Member Functions

def __init__
def __iter__
def next

Public Attributes

 FieldDataInformation
 index
 items

Detailed Description

Iterator for FieldDataInformation

Definition at line 1330 of file paravisSM.py.


Constructor & Destructor Documentation

def paravisSM.FieldDataInformationIterator.__init__ (   self,
  info,
  items = False 
)

Definition at line 1333 of file paravisSM.py.

01333 
01334     def __init__(self, info, items=False):
01335         self.FieldDataInformation = info
01336         self.index = 0
01337         self.items = items


Member Function Documentation

Definition at line 1338 of file paravisSM.py.

01338 
01339     def __iter__(self):
01340         return self

Here is the caller graph for this function:

Definition at line 1341 of file paravisSM.py.

01341 
01342     def next(self):
01343         if self.index >= self.FieldDataInformation.GetNumberOfArrays():
01344             raise StopIteration
01345 
01346         self.index += 1
01347         ai = self.FieldDataInformation[self.index-1]
01348         if self.items:
01349             return (ai.GetName(), ai)
01350         else:
01351             return ai
01352 


Member Data Documentation

Definition at line 1334 of file paravisSM.py.

Definition at line 1335 of file paravisSM.py.

Definition at line 1336 of file paravisSM.py.


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