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

#include <logical.h>

Inheritance diagram for tree_or:
tree_diadic tree

Public Member Functions

virtual ~tree_or ()

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_or (const pointer &left, const pointer &right)
 tree_or ()
 tree_or (const tree_or &)
tree_oroperator= (const tree_or &)

Detailed Description

The tree_or class is used to represent an expression tree which performs a logical OR.

Definition at line 107 of file logical.h.


Constructor & Destructor Documentation

virtual tree_or::~tree_or ( ) [virtual]

The destructor.

tree_or::tree_or ( 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_or::tree_or ( ) [private]

The default constructor. Do not use.

tree_or::tree_or ( const tree_or ) [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer tree_or::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_or::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_or::evaluate ( string_ty ,
string_ty ,
string_ty ,
struct stat *   
) const [protected, virtual]

Implements tree.

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

Implements tree.

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

The assignment operator. Do not use.

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

Implements tree.


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