Puma Reference Manual Puma: Puma::CT_Intro Class Reference



Puma::CT_Intro Class Reference

#include <Puma/ACTree.h>

Inheritance diagram for Puma::CT_Intro:

Inheritance graph

List of all members.


Detailed Description

Tree node representing an introduction advice declaration.

Example:

 around() 

Public Member Functions

const char * NodeName () const
 Get the name of the node.
void AddNameIndex (int index)
 Add a name index.
void AddNameIndex (int index_from, int index_to)
 Add a name index.
void RollbackNameIndex (int pos)
 Roll back the name index to the given position.
int NameIndices () const
 Get the name indices.
int NameIndex (int i) const
 Get the start index of the name with the given index.
int NameToIndex (int i) const
 Get the end index for the name with the given index.
bool NameQual (int i) const
 Check if the name at the given index should be replaced by a qualified name.

Static Public Member Functions

static const char * NodeId ()
 Get the identifier for this node type.

Member Function Documentation

static const char* Puma::CT_Intro::NodeId (  )  [static]

Get the identifier for this node type.

Can be compared with NodeName().

const char* Puma::CT_Intro::NodeName (  )  const [inline, virtual]

Get the name of the node.

Can be compared with NodeId().

Implements Puma::CTree.

void Puma::CT_Intro::AddNameIndex ( int  index  )  [inline]

Add a name index.

Parameters:
index The name index.

void Puma::CT_Intro::AddNameIndex ( int  index_from,
int  index_to 
) [inline]

Add a name index.

Parameters:
index_from Start index.
index_to End index.

void Puma::CT_Intro::RollbackNameIndex ( int  pos  )  [inline]

Roll back the name index to the given position.

Parameters:
pos The position up to which to roll back.

int Puma::CT_Intro::NameIndices (  )  const [inline]

Get the name indices.

int Puma::CT_Intro::NameIndex ( int  i  )  const [inline]

Get the start index of the name with the given index.

Parameters:
i The index.

int Puma::CT_Intro::NameToIndex ( int  i  )  const [inline]

Get the end index for the name with the given index.

Parameters:
i The index.

bool Puma::CT_Intro::NameQual ( int  i  )  const [inline]

Check if the name at the given index should be replaced by a qualified name.

Parameters:
i The index.




Puma Reference Manual. Created on 11 Jul 2008.