class RED::IReferenceSolving

Interface class implemented by objects that need reference solving. More...

#include <REDIReferenceSolving.h>

Inherits: IREDObject.

Public functions:

virtual RED_RCSolve ( RED::IReferenceManager * iReferenceManager, const RED::State & iState ) = 0

Public static functions:

static RED::CIDGetClassID ( )

Detailed description:

Interface class implemented by objects that need reference solving.

This class exposes a callback that will be automatically called when the references of a .red file has to be solved.

Functions documentation

public virtual RED_RC RED::IReferenceSolving::Solve(RED::IReferenceManager *iReferenceManager,
const RED::State &iState
) = 0

Solves the pending references of a loaded chunk.

Parameters:

iReferenceManager:Pointer to the IReferenceManager who has all the references registered to.
iState:Current transaction.

Returns:

RED_OK on success,
RED_BAD_PARAM on an invalid parameter,
RED_FAIL otherwise.