Aegis  4.25.D505
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
tree_monadic Class Reference

#include <monadic.h>

Inheritance diagram for tree_monadic:
tree tree_atime tree_basename tree_bitwise_not tree_ctime tree_delete tree_execute tree_gid tree_ino tree_mode tree_mtime tree_neg tree_nlink tree_not tree_pos tree_print tree_size tree_type tree_uid

Public Member Functions

virtual ~tree_monadic ()

Protected Member Functions

 tree_monadic (const pointer &arg)
void print () const
bool useful () const
bool constant () const
tree::pointer get_arg () const

Private Member Functions

 tree_monadic ()
 tree_monadic (const tree_monadic &)
tree_monadicoperator= (const tree_monadic &)

Private Attributes

tree::pointer arg

Detailed Description

The tree_monadic class is used to represent an abstract tree one with a single argument.

Definition at line 29 of file monadic.h.


Constructor & Destructor Documentation

virtual tree_monadic::~tree_monadic ( ) [virtual]

The destructor.

tree_monadic::tree_monadic ( const pointer arg) [protected]

The constructor.

Parameters:
argThe single argument to the function.

The default constructor. Do not use.

tree_monadic::tree_monadic ( const tree_monadic ) [private]

The copy constructor. Do not use.


Member Function Documentation

bool tree_monadic::constant ( ) const [protected, virtual]

Implements tree.

Reimplemented in tree_print, and tree_delete.

tree::pointer tree_monadic::get_arg ( ) const [inline, protected]

Definition at line 56 of file monadic.h.

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

The assignment operator. Do not use.

void tree_monadic::print ( ) const [protected, virtual]

Implements tree.

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

Implements tree.

Reimplemented in tree_execute, tree_print, and tree_delete.


Field Documentation

The arg instance variable is used to remember the argument to this single-argument function.

Definition at line 63 of file monadic.h.


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