rpt_expr_power Class Reference

#include <power.h>

Inheritance diagram for rpt_expr_power:

rpt_expr

Public Member Functions

virtual ~rpt_expr_power ()

Static Public Member Functions

static rpt_expr::pointer create (const rpt_expr::pointer &lhs, const rpt_expr::pointer &rhs)

Protected Member Functions

rpt_value::pointer evaluate () const

Private Member Functions

 rpt_expr_power (const rpt_expr::pointer &lhs, const rpt_expr::pointer &rhs)
 rpt_expr_power ()
 rpt_expr_power (const rpt_expr_power &)
rpt_expr_poweroperator= (const rpt_expr_power &)

Detailed Description

The rpt_expr_power class is used to represent a syntax tree power (exponentiation) expression node.

Definition at line 30 of file power.h.


Constructor & Destructor Documentation

virtual rpt_expr_power::~rpt_expr_power (  )  [virtual]

The destructor.

rpt_expr_power::rpt_expr_power ( const rpt_expr::pointer lhs,
const rpt_expr::pointer rhs 
) [private]

The constructor. It's private on purpose, use the "create" class method instead.

rpt_expr_power::rpt_expr_power (  )  [private]

The default constructor. Do not use.

rpt_expr_power::rpt_expr_power ( const rpt_expr_power  )  [private]

The copy constructor. Do not use.


Member Function Documentation

static rpt_expr::pointer rpt_expr_power::create ( const rpt_expr::pointer lhs,
const rpt_expr::pointer rhs 
) [static]

The create class method is used to create new dynamically allocated instance of this class.

rpt_value::pointer rpt_expr_power::evaluate (  )  const [protected, virtual]

The evaluate method may be used to calculate the value of the expression syntax tree.

Implements rpt_expr.

rpt_expr_power& rpt_expr_power::operator= ( const rpt_expr_power  )  [private]

The assignment operator. Do not use.


The documentation for this class was generated from the following file:

Generated on Wed Mar 12 23:37:42 2008 for Aegis by  doxygen 1.5.5