A view over an object in the scripting environment. More...
Public Member Functions | |
ScriptObjectView () noexcept | |
ScriptObjectView (const ScriptObjectView &other) noexcept | |
ScriptObjectView (ScriptObjectView &&other) noexcept | |
~ScriptObjectView () | |
void | reset (nkMemory::UniquePtr< ScriptObjectInterpreterView > view) |
ScriptObjectView & | operator= (const ScriptObjectView &other) noexcept |
ScriptObjectView & | operator= (ScriptObjectView &&other) noexcept |
Public Attributes | |
nkMemory::UniquePtr< ScriptObjectInterpreterView > | _view |
The interpreter specific data for a view over a script object. | |
A view over an object in the scripting environment.
Doesn't touch anything related to reference counting, but used to reconstruct references that will impact the reference counting.
In theory, this class should never be used by external code.
|
noexcept |
Constructor.
|
noexcept |
Copy constructor.
other | The view to copy over. |
|
noexcept |
Move constructor.
other | The view to move over. |
nkScripts::ScriptObjectView::~ScriptObjectView | ( | ) |
Destructor.
void nkScripts::ScriptObjectView::reset | ( | nkMemory::UniquePtr< ScriptObjectInterpreterView > | view | ) |
Resets the view with a new view.
view | The new interpreter view to use. |
|
noexcept |
Copy assignment operator.
other | The view to copy over. |
|
noexcept |
Move assignment operator.
other | The view to move over. |