Puma Reference Manual | Puma: Puma::ACPointcutInfo Class Reference |
#include <Puma/ACPointcutInfo.h>
A pointcut declaration is syntactically equal to a function declaration and also parsed like a function.
Public Member Functions | |
ACPointcutInfo (CFunctionInfo *f) | |
Construct a pointcut info object. | |
const char * | name () |
Get the name of the pointcut. | |
CFunctionInfo * | function () |
Get the function info of the pointcut declaration. | |
void | Aspect (ACAspectInfo *ai) |
Set the aspect in which the pointcut is declared. | |
ACAspectInfo * | Aspect () |
Get the aspect in which the pointcut is declared. | |
bool | is_virtual () |
Return true if the pointcut is virtual. | |
void | def_node (CT_PointcutDecl *pcd) |
Set the pointcut definition syntax tree node. | |
CT_PointcutDecl * | def_node () |
Get the syntax tree node of the pointcut definition. |
Puma::ACPointcutInfo::ACPointcutInfo | ( | CFunctionInfo * | f | ) | [inline] |
Construct a pointcut info object.
f | The function info of the pointcut declaration. |
const char* Puma::ACPointcutInfo::name | ( | ) | [inline] |
Get the name of the pointcut.
CFunctionInfo* Puma::ACPointcutInfo::function | ( | ) | [inline] |
Get the function info of the pointcut declaration.
void Puma::ACPointcutInfo::Aspect | ( | ACAspectInfo * | ai | ) | [inline] |
Set the aspect in which the pointcut is declared.
ai | The aspect info of the corresponding aspect. |
ACAspectInfo* Puma::ACPointcutInfo::Aspect | ( | ) | [inline] |
Get the aspect in which the pointcut is declared.
bool Puma::ACPointcutInfo::is_virtual | ( | ) | [inline] |
Return true if the pointcut is virtual.
void Puma::ACPointcutInfo::def_node | ( | CT_PointcutDecl * | pcd | ) | [inline] |
Set the pointcut definition syntax tree node.
pcd | The pointcut syntax tree node. |
CT_PointcutDecl* Puma::ACPointcutInfo::def_node | ( | ) | [inline] |
Get the syntax tree node of the pointcut definition.