API Documentation
Public Member Functions | List of all members
nkScripts::ScriptObjectInterpreterView Class Referenceabstract

Base interface for an interpreter specific script object view. More...

Public Member Functions

 ScriptObjectInterpreterView (FUNCTION_PARAMETER_TYPE type)
 
virtual ~ScriptObjectInterpreterView ()=default
 
FUNCTION_PARAMETER_TYPE getType () const
 
virtual ScriptObjectInterpreterReferencetoReference () const =0
 
virtual nkMemory::UniquePtr< ScriptObjectInterpreterViewcopy () const =0
 

Detailed Description

Base interface for an interpreter specific script object view.

In theory, should not be used by external code.

Constructor & Destructor Documentation

◆ ScriptObjectInterpreterView()

nkScripts::ScriptObjectInterpreterView::ScriptObjectInterpreterView ( FUNCTION_PARAMETER_TYPE  type)

Constructor.

Parameters
typeType of variable followed.

◆ ~ScriptObjectInterpreterView()

virtual nkScripts::ScriptObjectInterpreterView::~ScriptObjectInterpreterView ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getType()

FUNCTION_PARAMETER_TYPE nkScripts::ScriptObjectInterpreterView::getType ( ) const
Returns
The type of object the view points to.

◆ toReference()

virtual ScriptObjectInterpreterReference* nkScripts::ScriptObjectInterpreterView::toReference ( ) const
pure virtual

Conversion to a reference.

Returns
The view converted to a reference.

◆ copy()

virtual nkMemory::UniquePtr<ScriptObjectInterpreterView> nkScripts::ScriptObjectInterpreterView::copy ( ) const
pure virtual

Copy the view.

Returns
The copied instance along with its ownership.

The documentation for this class was generated from the following file: