AMLLatticeExpander Class Reference

This class handles lattice expansion and expression evaluation. More...

#include <AMLLatticeExpander.hpp>

Collaboration diagram for AMLLatticeExpander:

Collaboration graph
[legend]

List of all members.

Public Member Functions

UAPNodeAMLExpandLattice (UAPNode *UAPRoot)
 Does lattice expansion for all machines.

Static Public Member Functions

static bool InheritBookkeeper (UAPNode *root)
 Routine to move inheratance information from the inheritee lattice element to the inheritor lattice element (elements with the "inherit" attribute).


Detailed Description

This class handles lattice expansion and expression evaluation.

Author:
David Sagan

Definition at line 37 of file AMLLatticeExpander.hpp.


Member Function Documentation

UAPNode * AMLLatticeExpander::AMLExpandLattice ( UAPNode UAPRoot  ) 

Does lattice expansion for all machines.

This method will look for a subnode <AML_representation> of UAPRoot to find the lattice data. A subnode &ltexpanded_lattice> of UAPRoot will be constructed with the expanded lattice. If <expanded_lattice> already exists it will be overwritten.

Parameters:
UAPRoot The root node.
Returns:
&ltexpanded_lattice> node. NULL if there was a problem.

Definition at line 44 of file AMLLatticeExpander.cpp.

bool AMLLatticeExpander::InheritBookkeeper ( UAPNode root  )  [static]

Routine to move inheratance information from the inheritee lattice element to the inheritor lattice element (elements with the "inherit" attribute).

Parameters:
root The root node for the elements.
Returns:
True if everything is OK. False otherwise.

Definition at line 134 of file AMLLatticeExpander.cpp.


Generated on Fri Feb 12 15:47:57 2010 for Universal Accelerator Parser by  doxygen 1.5.7