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

#include <delete.h>

Inheritance diagram for tree_delete:
tree_monadic tree

Public Member Functions

virtual ~tree_delete ()

Static Public Member Functions

static pointer create (const tree::pointer &arg)
static pointer create_l (const tree_list &arg)

Protected Member Functions

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

Private Member Functions

 tree_delete (const tree::pointer &arg)
 tree_delete ()
 tree_delete (const tree_delete &)
tree_deleteoperator= (const tree_delete &)

Detailed Description

The tree_delete class is used to represent an expression tree which evaluates to true, and deletes (removes, unlinks) its argument.

Definition at line 30 of file delete.h.


Constructor & Destructor Documentation

virtual tree_delete::~tree_delete ( ) [virtual]

The destructor.

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

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

tree_delete::tree_delete ( ) [private]

The default constructor. Do not use.

tree_delete::tree_delete ( const tree_delete ) [private]

The copy constructor. Do not use.


Member Function Documentation

bool tree_delete::constant ( void  ) const [protected, virtual]

Reimplemented from tree_monadic.

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

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

static pointer tree_delete::create_l ( const tree_list arg) [static]

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

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

Implements tree.

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

Implements tree.

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

The assignment operator. Do not use.

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

Implements tree.

bool tree_delete::useful ( void  ) const [protected, virtual]

Reimplemented from tree_monadic.


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