Puma Reference Manual Puma: Puma::CT_MembInitList Class Reference



Puma::CT_MembInitList Class Reference

Tree node representing a constructor initializer list. More...

#include <Puma/CTree.h>

Inherits Puma::CT_List, and Puma::CSemScope.

List of all members.

Public Member Functions

 CT_MembInitList (int size=2)
 Constructor.
const char * NodeName () const
 Get the name of the node.
CSemScopeSemScope () const
 Get the scope opened by the member initializer list.

Static Public Member Functions

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

Detailed Description

Tree node representing a constructor initializer list.

Example:

 : Base(), m_Member(0) 

Constructor & Destructor Documentation

Puma::CT_MembInitList::CT_MembInitList ( int  size = 2  )  [inline]

Constructor.

Parameters:
size The initial size of the list.

Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

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

Get the name of the node.

Can be compared with NodeId().

Implements Puma::CTree.

CSemScope* Puma::CT_MembInitList::SemScope (  )  const [inline, virtual]

Get the scope opened by the member initializer list.

Reimplemented from Puma::CTree.




Puma Reference Manual. Created on 18 Sep 2009.