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

#include <match.h>

Inheritance diagram for tree_match:
tree_diadic tree

Public Member Functions

virtual ~tree_match ()

Static Public Member Functions

static pointer create (const tree::pointer &lhs, const tree::pointer &rhs)

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_match (const tree::pointer &lhs, const tree::pointer &rhs)
 tree_match ()
 tree_match (const tree_match &)
tree_matchoperator= (const tree_match &)

Detailed Description

The tree_match class is used to represent an expression tree node for compareing a file globbing pattern with a string (usually a file name).

Definition at line 30 of file match.h.


Constructor & Destructor Documentation

virtual tree_match::~tree_match ( ) [virtual]

The destructor.

tree_match::tree_match ( const tree::pointer lhs,
const tree::pointer rhs 
) [private]

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

tree_match::tree_match ( ) [private]

The default constructor. Do not use.

tree_match::tree_match ( const tree_match ) [private]

The copy constructor. Do not use.


Member Function Documentation

static pointer tree_match::create ( const tree::pointer lhs,
const tree::pointer rhs 
) [static]

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

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

Implements tree.

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

Implements tree.

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

The assignment operator. Do not use.

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

Implements tree.


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