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

#include <logical.h>

Inheritance diagram for tree_and:
tree_diadic tree

Public Member Functions

virtual ~tree_and ()

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_and (const pointer &left, const pointer &right)
 tree_and ()
 tree_and (const tree_and &)
tree_andoperator= (const tree_and &)

Detailed Description

The tree_and class is used to represent an expression tree which performs a logical AND.

Definition at line 32 of file logical.h.


Constructor & Destructor Documentation

virtual tree_and::~tree_and ( ) [virtual]

The destructor.

tree_and::tree_and ( 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_and::tree_and ( ) [private]

The default constructor. Do not use.

tree_and::tree_and ( const tree_and ) [private]

The copy constructor. Do not use.


Member Function Documentation

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

Implements tree.

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

Implements tree.

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

The assignment operator. Do not use.

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

Implements tree.


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