All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SDMRuntime Class SdaiIterInstance

SdaiIterInstance
 

Usage: you must use this class as is. You should never derive it.


public class SdaiIterInstance

Class representing an iterator on SDAI instances.


Constructor and Destructor Index


o ~SdaiIterInstance()

Method Index


o Beginning()
Sets the iterator before the first item, outside boundaries.
o End()
Sets the iterator after the last item, outside boundaries.
o GetCurrentValue()
Gets the value at the current position.
o Next()
Sets the iterator to the next item.
o Position()
Creates the current position
o Previous()
Sets the iterator to the previous item.
o RemoveCurrentValue()
Removes the value at the current position.

Constructor and Destructor


o ~SdaiIterInstance
public virtual ~SdaiIterInstance()

Methods


o Beginning
public void Beginning()
Sets the iterator before the first item, outside boundaries.
o End
public void End()
Sets the iterator after the last item, outside boundaries.
o GetCurrentValue
public const SdaiPrimitiveH& GetCurrentValue()const
Gets the value at the current position.
o Next
public const SdaiBoolean & Next()
Sets the iterator to the next item.
Returns:
sdaiTRUE if possible, SdaiFALSE else.
o Position
public SdaiInteger Position()const
Creates the current position
o Previous
public const SdaiBoolean & Previous()
Sets the iterator to the previous item.
Returns:
sdaiTRUE if possible, SdaiFALSE else.
o RemoveCurrentValue
public SdaiPrimitiveH RemoveCurrentValue()
Removes the value at the current position.

This object is included in the file: SdaiIterInstance.h
If needed, your Imakefile.mk should include the module: CATSrtSimpleTypes

Copyright © 2003, Dassault Systèmes. All rights reserved.