PathEngine home previous: iPathEngine::largeStaticObstacleShapeIsValid()next: iPathEngine::loadFederation()
Contents, API Reference, Interfaces, iPathEngine, loadContentChunk

iPathEngine::loadContentChunk()

Description

Constructs an iContentChunk object from a data buffer previously saved out by iContentChunk::save().

Syntax

iContentChunk* loadContentChunk(char const * data_Buffer, tUnsigned32 data_BufferEntries);

Parameters

data_Buffer, data_BufferEntries (See Passing Arrays.) The data buffer to load from.

Return Value

If the data passed in is valid then a newly created Interface iContentChunk object is returned.
Otherwise non-fatal errors will be reported relating to the validation failure and zero will be returned.

Remarks

The created Interface iContentChunk should be explicitly deleted when no longer required, and will also be deleted if iPathEngine::deleteAllObjects() is called - in either case the pointer can no longer be used.

See Also

iPathEngine::newContentChunk()

C# Mapping

ContentChunk loadContentChunk(byte[] data);

Java Mapping

ContentChunk loadContentChunk(byte[] data);

Documentation for PathEngine release 5.35 - Copyright © 2002-2014 PathEnginenext: iPathEngine::loadFederation()