IReferenceSolving

Functions

CID

GetClassID

RED_RC

Solve

Detailed Description

class IReferenceSolving : public RED::IREDObject

Interface class implemented by objects that need reference solving.

@related class RED::IReferenceManager

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

Public Functions

virtual RED_RC 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.

Public Static Functions

static inline RED::CID GetClassID()