Puma Reference Manual Puma::ACPointcutInfo Class Reference



Puma::ACPointcutInfo Class Reference

Semantic information about an AspectC++ 'pointcut' declaration. More...

#include <Puma/ACPointcutInfo.h>

Public Member Functions

 ACPointcutInfo (CFunctionInfo *f)
 Construct a pointcut info object. More...
 
const char * name ()
 Get the name of the pointcut. More...
 
CFunctionInfofunction ()
 Get the function info of the pointcut declaration. More...
 
void Aspect (ACAspectInfo *ai)
 Set the aspect in which the pointcut is declared. More...
 
ACAspectInfoAspect ()
 Get the aspect in which the pointcut is declared. More...
 
bool is_virtual ()
 Return true if the pointcut is virtual. More...
 
void def_node (CT_PointcutDecl *pcd)
 Set the pointcut definition syntax tree node. More...
 
CT_PointcutDecldef_node ()
 Get the syntax tree node of the pointcut definition. More...
 

Detailed Description

Semantic information about an AspectC++ 'pointcut' declaration.

A pointcut declaration is syntactically equal to a function declaration and also parsed like a function.

Constructor & Destructor Documentation

Puma::ACPointcutInfo::ACPointcutInfo ( CFunctionInfo f)
inline

Construct a pointcut info object.

Parameters
fThe function info of the pointcut declaration.

Member Function Documentation

void Puma::ACPointcutInfo::Aspect ( ACAspectInfo ai)
inline

Set the aspect in which the pointcut is declared.

Parameters
aiThe aspect info of the corresponding aspect.
ACAspectInfo* Puma::ACPointcutInfo::Aspect ( )
inline

Get the aspect in which the pointcut is declared.

void Puma::ACPointcutInfo::def_node ( CT_PointcutDecl pcd)
inline

Set the pointcut definition syntax tree node.

Parameters
pcdThe pointcut syntax tree node.
CT_PointcutDecl* Puma::ACPointcutInfo::def_node ( )
inline

Get the syntax tree node of the pointcut definition.

CFunctionInfo* Puma::ACPointcutInfo::function ( )
inline

Get the function info of the pointcut declaration.

bool Puma::ACPointcutInfo::is_virtual ( )
inline

Return true if the pointcut is virtual.

const char* Puma::ACPointcutInfo::name ( )
inline

Get the name of the pointcut.




Puma Reference Manual. Created on Fri Oct 24 2014.