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

#include <arithmetic.h>

Inheritance diagram for tree_neg:
tree_monadic tree

Public Member Functions

virtual ~tree_neg ()

Static Public Member Functions

static pointer create (const pointer &arg)
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_neg (const pointer &arg)
 tree_neg ()
 tree_neg (const tree_neg &)
tree_negoperator= (const tree_neg &)

Detailed Description

The tree_neg class is used to represent an expression tree which evatuates to teh negative of its argument.

Definition at line 407 of file arithmetic.h.


Constructor & Destructor Documentation

virtual tree_neg::~tree_neg ( ) [virtual]

The destructor.

tree_neg::tree_neg ( const pointer arg) [private]

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

tree_neg::tree_neg ( ) [private]

The default constructor. Do not use.

tree_neg::tree_neg ( const tree_neg ) [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer tree_neg::create ( const pointer arg) [static]

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

Parameters:
argThe singel argument to this function.
static pointer tree_neg::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_neg::evaluate ( string_ty ,
string_ty ,
string_ty ,
struct stat *   
) const [protected, virtual]

Implements tree.

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

Implements tree.

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

The assignment operator. Do not use.

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

Implements tree.


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