Polaris: MultipleArgWildcard Class Reference

MultipleArgWildcard Class Reference

not for public use More...

#include <MultipleArgWildcard.h>

Inheritance diagram for MultipleArgWildcard:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MultipleArgWildcard (OP_TYPE op, const Type &type, int num_args, Expression *expr1=0, Expression *expr2=0)
virtual List< Expression > & arg_list () const
virtual const ExprSignatureupdate_signature ()
virtual int node_compare (const Expression &ex) const
 Assuming that the the two expressions have the same operation and expression type, return either -1, 0, or 1, indicating that the other expression is less than, equal, or greater than myself.
virtual int structures_OK () const
 Return 1 if my structures are in a valid state.

Protected Member Functions

virtual void _backup_aux ()

Protected Attributes

List< Expression_args

Detailed Description

not for public use

Polaris Base

See also:
Wildcard/MultipleArgWildcard.h

Wildcard/Wildcard.cc

Wildcard/MultipleArgWildcard.h

Description

MultipleArgWildcard is an abstract wildcard for internal use only.

For more details, please see Wildcard

Definition at line 31 of file MultipleArgWildcard.h.


Constructor & Destructor Documentation

MultipleArgWildcard::MultipleArgWildcard OP_TYPE  op,
const Type type,
int  num_args,
Expression expr1 = 0,
Expression expr2 = 0
 


Member Function Documentation

void MultipleArgWildcard::_backup_aux  )  [protected, virtual]
 

Do a clear, then do the same for all children which contain wildcards

Reimplemented from Wildcard.

Definition at line 274 of file Wildcard.cc.

References _args, Expression::_backup(), Wildcard::_clear(), and List< T >::valid().

List< Expression > & MultipleArgWildcard::arg_list  )  const [virtual]
 

... List of no arguments

Reimplemented from Expression.

Definition at line 286 of file Wildcard.cc.

References _args.

const ExprSignature & MultipleArgWildcard::update_signature  )  [virtual]
 

This called function also does it for the children

Implements Wildcard.

Definition at line 1008 of file Wildcard.cc.

References Expression::_signature_live(), ExprSignature::has_wildcard(), Expression::signature(), True, and Expression::update_signature().

int MultipleArgWildcard::node_compare const Expression ex  )  const [virtual]
 

Assuming that the the two expressions have the same operation and expression type, return either -1, 0, or 1, indicating that the other expression is less than, equal, or greater than myself.

Implements Wildcard.

Definition at line 1067 of file Wildcard.cc.

References Expression::node_compare().

int MultipleArgWildcard::structures_OK  )  const [virtual]
 

Return 1 if my structures are in a valid state.

Implements Wildcard.

Definition at line 250 of file Wildcard.cc.

References False, and True.


Member Data Documentation

List<Expression> MultipleArgWildcard::_args [protected]
 

Definition at line 33 of file MultipleArgWildcard.h.

Referenced by _backup_aux(), and arg_list().


The documentation for this class was generated from the following files:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:07:48 2005