API Reference > Functions > SDAI > sdaiCreateNestedAggrByIndex Function
sdaiCreateNestedAggrByIndex Function
Syntax
C++
DAI_EXPORT SdaiAggr sdaiCreateNestedAggrByIndex(SdaiOrderedAggr aggregate, SdaiAggrIndex index);

sdai.h

Parameters 
Description 
SdaiOrderedAggr aggregate 
[in] An aggregate instance that contains the created nested aggregate.  
SdaiAggrIndex index 
[in] An index that determines the position of the created item.  

The identifier of the newly created aggregate instance.

Creates a nested aggregate instance within a specified aggregate instance at the position specified by the index.

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