ObjectScope Class Reference

Scope implementation that gives acces to an object members and reserved variables/scopes. More...

#include <objectscope.h>

Inherits Scope.

List of all members.

Public Member Functions

 ObjectScope (Object &object)

Protected Member Functions

virtual Variable doGet (const Variant &key, bool modifiable) override
 Implementation for get.
Ptr doGetScope (const Variant &key) override
 Implementation for getScope.
Variable getValue (bool modifiable)
 Get designated value for the scope.

Detailed Description

Scope implementation that gives acces to an object members and reserved variables/scopes.

The members can either be accesses by their index, name or type

See the HMDL language documentation for reserved variables/scopes


Constructor & Destructor Documentation


Member Function Documentation

virtual Variable ObjectScope::doGet ( const Variant key,
bool  modifiable 
) [override, protected, virtual]

Implementation for get.

Reimplemented from Scope.

Ptr ObjectScope::doGetScope ( const Variant key) [override, protected, virtual]

Implementation for getScope.

Reimplemented from Scope.

Variable ObjectScope::getValue ( bool  modifiable) [protected, virtual]

Get designated value for the scope.

Reimplemented from Scope.


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