API Reference > OdDAI Namespace > Classes > List Template > List Methods > List::addAggregateInstanceByIndex Method
List::addAggregateInstanceByIndex Method
Syntax
C++
void addAggregateInstanceByIndex(int indexAddAfter, Aggr*& aggrToAdd);
Parameters 
Description 
int indexAddAfter 
[in] item index to set after  
Aggr*& aggrToAdd 
[in/out] a pointer reference to provide a created aggregate. It may be null if error occured during additiion. 

details Creates a child aggregate, puts it to internal collection and provide it to outside.

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