Puma Reference Manual | Puma: Puma::CScopeRequest Class Reference |
Provides additional scope information for semantic objects that are not scopes itself (like objects). More...
#include <Puma/CScopeRequest.h>
Inherits Puma::CObjectInfo.
Inherited by Puma::CArgumentInfo, Puma::CAttributeInfo, Puma::CBaseClassInfo, Puma::CEnumInfo, Puma::CLabelInfo, Puma::CMemberAliasInfo, Puma::CTypedefInfo, and Puma::CUsingInfo.
Public Member Functions | |
~CScopeRequest () | |
Destructor. | |
CScopeInfo * | Scope () const |
Get the enclosing scope. | |
void | Scope (CScopeInfo *scope) |
Set the enclosing scope. | |
Protected Member Functions | |
CScopeRequest (ObjectId id) | |
Constructor. |
Provides additional scope information for semantic objects that are not scopes itself (like objects).
Puma::CScopeRequest::CScopeRequest | ( | CObjectInfo::ObjectId | id | ) | [inline, protected] |
Constructor.
id | The object type. |
Puma::CScopeRequest::~CScopeRequest | ( | ) | [inline] |
Destructor.
void Puma::CScopeRequest::Scope | ( | CScopeInfo * | scope | ) | [inline] |
Set the enclosing scope.
scope | The scope. |
CScopeInfo * Puma::CScopeRequest::Scope | ( | ) | const [inline] |
Get the enclosing scope.
Reimplemented from Puma::CObjectInfo.