API Reference > OdDAI Namespace > Classes > AggrOrdered Class > AggrOrdered Methods > AggrOrdered::createAggrInstanceByIndex Method
AggrOrdered::createAggrInstanceByIndex Method
Syntax
C++
void createAggrInstanceByIndex(int index, Aggr*& newAggr);
Parameters 
Description 
int index 
[in] an index where aggregate create to.  
Aggr*& newAggr 
[in/out] output parameter. If succeeded it should filled by a pointer of new child agggregate. 

Creates a child aggregate by index.

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