This template interface provides the necessary abstract methods which allow the user to access an Archicad database element and traverse the current database using the common iterator method of the operator++ () overload.
template <typename APIType, class FinalType> class GSAPI::IAPIPseudoIterator;
Template parameters
- APIType
- The element type the iterator “references”.
- FinalType
- The final iterator type (the type of the iterator derived from this interface).
Description
The interface is called called PseudoIterator because in reality it contains the element it references and uses the IAPIPseudoContainer‘s GetNext () method to update this field.
There are 3 different implementations in the DefaultImplementation folder:
- AttributeIterator is the iterator of the AttributeProxy container and references API_Attributes.
- ElementIterator references API_Elements.
- PrimElementIterator references API_PrimElements.
See also IAPIPseudoContainer and IAPIPseudoIterator implementation details.
Requirements
Namespace: GSAPI
Header: IAPIPseudoIterator.hpp
Version: API 10.21 or later
See Also
IAPIPseudoContainer interface | IAttributeProxy interface | PrimElementIterator class | Implementation details