#include <Puma/infos/acinfos/ACSliceInfo.h>
Public Types | |
| enum | Type { SL_UNKNOWN, SL_ASPECT, SL_CLASS, SL_STRUCT, SL_UNION } |
Public Member Functions | |
| ACSliceInfo (CObjectInfo *oi) | |
| ~ACSliceInfo () | |
| const char * | name () |
| CObjectInfo * | object () |
| void | def_node (CT_ClassSliceDecl *node) |
| CT_ClassSliceDecl * | def_node () |
| void | add_member (CT_Intro *i) |
| int | members () const |
| CT_Intro * | member (int i) const |
| const Unit * | member_pattern (int i) const |
| const Unit * | member_unit (int i) const |
| void | in_advice (bool a) |
| bool | in_advice () const |
| Type | type () const |
| ACSliceInfo * | definition () const |
| const Unit * | base_pattern () const |
| const Unit * | pattern () const |
| Puma::ACSliceInfo::ACSliceInfo | ( | CObjectInfo * | oi | ) | [inline] |
Construct a slice info object.
| oi | The object info of the slice declaration, e.g. class info. |
| Puma::ACSliceInfo::~ACSliceInfo | ( | ) |
Desctructor: delete all pattern units
| const char* Puma::ACSliceInfo::name | ( | ) | [inline] |
Get the name of the slice.
| CObjectInfo* Puma::ACSliceInfo::object | ( | ) | [inline] |
Get the object info of the slice declaration.
| void Puma::ACSliceInfo::def_node | ( | CT_ClassSliceDecl * | node | ) |
Set the slice definition syntax tree node.
| node | The slice syntax tree node. |
| CT_ClassSliceDecl* Puma::ACSliceInfo::def_node | ( | ) | [inline] |
Get the syntax tree node of the slice definition.
| void Puma::ACSliceInfo::add_member | ( | CT_Intro * | i | ) |
Add a non-inline slice member.
| node | The new member. |
| int Puma::ACSliceInfo::members | ( | ) | const [inline] |
Get the number of non-inline slice members.
| CT_Intro* Puma::ACSliceInfo::member | ( | int | i | ) | const [inline] |
Get the ith non-inline slice member.
| const Unit* Puma::ACSliceInfo::member_pattern | ( | int | i | ) | const [inline] |
Get the ith non-inline slice member code pattern.
| const Unit* Puma::ACSliceInfo::member_unit | ( | int | i | ) | const [inline] |
Get the ith non-inline slice member unit.
| void Puma::ACSliceInfo::in_advice | ( | bool | a | ) | [inline] |
Set a flag to determine if this definition is part of an advice decl
| a | true, iff this definition is location within 'advice .. : ..'. |
| bool Puma::ACSliceInfo::in_advice | ( | ) | const [inline] |
true, iff this slice decl is located within 'advice .. : ..'.
| Type Puma::ACSliceInfo::type | ( | ) | const |
Get the slice type (e.g. class or union)
| ACSliceInfo* Puma::ACSliceInfo::definition | ( | ) | const |
Get the definition of this slice or return 0 if there is no definition
| const Unit* Puma::ACSliceInfo::base_pattern | ( | ) | const [inline] |
Get the base class pattern of this slice as a unit
| const Unit* Puma::ACSliceInfo::pattern | ( | ) | const [inline] |
Get the inline member pattern of this slice as a unit
1.5.5