Puma Reference Manual Puma: Puma::CScopeRequest Class Reference



Puma::CScopeRequest Class Reference

Provides additional scope information for semantic objects that are not scopes itself (like objects). More...

#include <Puma/CScopeRequest.h>

Inheritance diagram for Puma::CScopeRequest:
Inheritance graph

List of all members.

Public Member Functions

 ~CScopeRequest ()
 Destructor.
CScopeInfoScope () const
 Get the enclosing scope.
void Scope (CScopeInfo *scope)
 Set the enclosing scope.

Protected Member Functions

 CScopeRequest (ObjectId id)
 Constructor.

Detailed Description

Provides additional scope information for semantic objects that are not scopes itself (like objects).


Constructor & Destructor Documentation

Puma::CScopeRequest::CScopeRequest ( CObjectInfo::ObjectId  id) [inline, protected]

Constructor.

Parameters:
idThe object type.
Puma::CScopeRequest::~CScopeRequest ( ) [inline]

Destructor.


Member Function Documentation

CScopeInfo * Puma::CScopeRequest::Scope ( ) const [inline]

Get the enclosing scope.

Reimplemented from Puma::CObjectInfo.

void Puma::CScopeRequest::Scope ( CScopeInfo scope) [inline]

Set the enclosing scope.

Parameters:
scopeThe scope.