PathEngine home previous: Interface iArrayReceivernext: Interface iFaceVertexBuilder
Contents, API Reference, Interfaces, iArrayReceiver, receive

iArrayReceiver::receive()

Description

Receives an array element as part of a sequence of array elements being passed out of the API.

Syntax

void receive(const T& element);
        

Parameters

element The element to receive.

Remarks

The element will usually just be pushed on the back of an array container object (as in cVectorReceiver) but this mechanism is useful to then avoid the need for exact container types to be specified in the API or for direct linkage across the API boundary (which potentially crosses a DLL boundary) for container code.


Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: Interface iFaceVertexBuilder