Aegis  4.25.D505
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
tree_plus Class Reference

#include <arithmetic.h>

Inheritance diagram for tree_plus:
tree_diadic tree

Public Member Functions

virtual ~tree_plus ()

Static Public Member Functions

static pointer create (const pointer &left, const pointer &right)
static pointer create_l (const tree_list &args)

Protected Member Functions

const char * name () const
rpt_value::pointer evaluate (string_ty *, string_ty *, string_ty *, struct stat *) const
tree::pointer optimize () const

Private Member Functions

 tree_plus (const pointer &left, const pointer &right)
 tree_plus ()
 tree_plus (const tree_plus &)
tree_plusoperator= (const tree_plus &)

Detailed Description

The tree_plus class is used to represent an expression tree which performs a FUBAR

Definition at line 475 of file arithmetic.h.


Constructor & Destructor Documentation

virtual tree_plus::~tree_plus ( ) [virtual]

The destructor.

tree_plus::tree_plus ( const pointer left,
const pointer right 
) [private]

The constructor. It is private on purpose, use the "create" clas smethod instead.

Parameters:
leftThe left hand argument to this function.
rightThe right hand argument to this function.
tree_plus::tree_plus ( ) [private]

The default constructor. Do not use.

tree_plus::tree_plus ( const tree_plus ) [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer tree_plus::create ( const pointer left,
const pointer right 
) [static]

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

Parameters:
leftThe left hand argument to this function.
rightThe right hand argument to this function.
static pointer tree_plus::create_l ( const tree_list args) [static]

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

Parameters:
argsThe arguments to this function.
rpt_value::pointer tree_plus::evaluate ( string_ty ,
string_ty ,
string_ty ,
struct stat *   
) const [protected, virtual]

Implements tree.

const char* tree_plus::name ( ) const [protected, virtual]

Implements tree.

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

The assignment operator. Do not use.

tree::pointer tree_plus::optimize ( ) const [protected, virtual]

Implements tree.


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