Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Aggr::clone Method
Syntax
C++
Aggr* clone(bool withItems = true) const;

Clones the aggregate object, i.e. creates a new aggregate that is an exact copy of the origin aggregate.

Parameters
Description
withItems
[in] A flag that determines whether the original aggregate should be cloned with its items (equals true) or without them (false). By default, the flag equals true.

A valid pointer to the copy of the origin aggregate if success; otherwise, returns NULL.

Use the delete operator to clean the returned pointer.

Copyright © 2002-2022. Open Design Alliance All rights reserved.