API Reference > OdDAI Namespace > Classes > Iterator Class > Iterator Methods > Iterator::createAggrInstanceAsCurrentMember Method
Iterator::createAggrInstanceAsCurrentMember Method
Syntax
C++
virtual Aggr* createAggrInstanceAsCurrentMember() = 0;

A raw pointer to the created aggregate instance.

Creates an aggregate and makes it the current element of the iterator. The created aggregate replaces the current item referred to by the iterator.

This method can be used to create nested aggregates.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.