IRefTargWrappingRefTarg Class Reference

IRefTargWrappingRefTarg Class Referenceabstract

#include <IRefTargWrappingRefTarg.h>

Class Description

An interface for ReferenceTargets that wrap ReferenceTargets, where the wrapping ReferenceTarget provides UI/storage on top of the wrapped ReferenceTarget.

Public Member Functions

virtual ReferenceTargetGetWrappedObject (bool recurse) const =0
 Returns the wrapped ReferenceTarget. More...
 

Static Public Member Functions

static ReferenceTargetGetWrappedObject (ReferenceTarget *wrappingObject, bool recurse)
 Returns the wrapped ReferenceTarget. More...
 

Member Function Documentation

static ReferenceTarget* GetWrappedObject ( ReferenceTarget wrappingObject,
bool  recurse 
)
static

Returns the wrapped ReferenceTarget.

Parameters
wrappingObjectThe wrapper for which to potentially resolve the wrapped object.
recurse- If true, the implementation should check to see if the wrapped ReferenceTarget derives from IRefTargWrappingRefTarg, and if so recurse into that object.
Returns
The wrapped ReferenceTarget.
virtual ReferenceTarget* GetWrappedObject ( bool  recurse) const
pure virtual

Returns the wrapped ReferenceTarget.

Parameters
recurse- If true, the implementation should check to see if the wrapped ReferenceTarget derives from IRefTargWrappingRefTarg, and if so recurse into that object.
Returns
The wrapped ReferenceTarget.