Puma Reference Manual | Puma::ACIntroductionInfo Class Reference |
Semantic information about an AspectC++ introduction 'advice' declaration. More...
#include <Puma/ACIntroductionInfo.h>
Public Member Functions | |
ACIntroductionInfo (CT_AdviceDecl *d, CProtection::Type p) | |
Construct an ACIntroductionInfo object. | |
CT_AdviceDecl * | def_node () |
Get the introduction advice declaration syntax tree node. | |
CProtection::Type | prot () |
Get the protection of the introduction advice (public, protected, private). | |
void | Aspect (ACAspectInfo *ai) |
Set the aspect containing the introduction. | |
ACAspectInfo * | Aspect () |
Get the aspect containing the introduction. |
Semantic information about an AspectC++ introduction 'advice' declaration.
Puma::ACIntroductionInfo::ACIntroductionInfo | ( | CT_AdviceDecl * | d, |
CProtection::Type | p | ||
) | [inline] |
Construct an ACIntroductionInfo object.
d | The corresponding advice declaration syntax tree node. |
p | The protection of the advice (public, protected, private). |
void Puma::ACIntroductionInfo::Aspect | ( | ACAspectInfo * | ai | ) | [inline] |
Set the aspect containing the introduction.
ai | The aspect info. |
ACAspectInfo* Puma::ACIntroductionInfo::Aspect | ( | ) | [inline] |
Get the aspect containing the introduction.
CT_AdviceDecl* Puma::ACIntroductionInfo::def_node | ( | ) | [inline] |
Get the introduction advice declaration syntax tree node.
CProtection::Type Puma::ACIntroductionInfo::prot | ( | ) | [inline] |
Get the protection of the introduction advice (public, protected, private).