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

#include <print.h>

Inheritance diagram for tree_print:
tree_monadic tree

Public Member Functions

virtual ~tree_print ()

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_print (const tree::pointer &arg)
 tree_print ()
 tree_print (const tree_print &)
tree_printoperator= (const tree_print &)

Detailed Description

The tree_print class is used to represent an expression tree which evaluates to true, and prints its argument on the standard output as a side effect.

Definition at line 31 of file print.h.


Constructor & Destructor Documentation

virtual tree_print::~tree_print ( ) [virtual]

The destructor.

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

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

tree_print::tree_print ( ) [private]

The default constructor. Do not use.

tree_print::tree_print ( const tree_print ) [private]

The copy constructor. Do not use.


Member Function Documentation

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

Reimplemented from tree_monadic.

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

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

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

Implements tree.

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

Implements tree.

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

The assignment operator. Do not use.

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

Implements tree.

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

Reimplemented from tree_monadic.


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