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

#include <execute.h>

Inheritance diagram for tree_execute:
tree_monadic tree

Public Member Functions

virtual ~tree_execute ()

Static Public Member Functions

static pointer create (const tree::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
bool useful () const
tree::pointer optimize () const

Private Member Functions

 tree_execute (const tree::pointer &arg)
 tree_execute ()
 tree_execute (const tree_execute &)
tree_executeoperator= (const tree_execute &)

Detailed Description

The tree_execute class is used to represent an expression tree which evaluates to true or false, depending on the exit status of a command it runs.

Definition at line 33 of file execute.h.


Constructor & Destructor Documentation

virtual tree_execute::~tree_execute ( ) [virtual]

The destructor.

tree_execute::tree_execute ( const tree::pointer arg) [private]

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

The default constructor. Do not use.

tree_execute::tree_execute ( const tree_execute ) [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer tree_execute::create ( const tree::pointer arg) [static]

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

static pointer tree_execute::create_l ( const tree_list args) [static]

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

rpt_value::pointer tree_execute::evaluate ( string_ty ,
string_ty ,
string_ty ,
struct stat *   
) const [protected, virtual]

Implements tree.

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

Implements tree.

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

The assignment operator. Do not use.

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

Implements tree.

bool tree_execute::useful ( ) const [protected, virtual]

Reimplemented from tree_monadic.


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