Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

ActionSet Class Reference

Sets the value of an attribute. More...

#include <rtreeactionrule.h>

Inheritance diagram for ActionSet:

Action

Public Member Functions

 ActionSet (Node *iname, Constant *iattribute, Node *iexpr, bool iglobal)
 Constructor.

virtual ~ActionSet ()
virtual void execute (NameSpace &nameSpace)
virtual Actioncopy () const
virtual Actionsubstitute (const Node::Assignment &assign)

Private Attributes

Nodename
 A name.

const string attribute
 An attribute.

Nodeexpr
 Expression that is evalueated.

const bool global
 Is the name a global name.


Detailed Description

Sets the value of an attribute.

Definition at line 29 of file rtreeactionrule.h.


Constructor & Destructor Documentation

ActionSet::ActionSet Node iname,
Constant iattribute,
Node iexpr,
bool  iglobal
 

Constructor.

Definition at line 22 of file rtreeactionrule.cpp.

Referenced by copy().

ActionSet::~ActionSet  )  [virtual]
 

Definition at line 27 of file rtreeactionrule.cpp.

References expr, and name.


Member Function Documentation

Action * ActionSet::copy  )  const [virtual]
 

Implements Action.

Definition at line 38 of file rtreeactionrule.cpp.

References ActionSet(), attribute, Node::copy(), expr, global, and name.

void ActionSet::execute NameSpace nameSpace  )  [virtual]
 

Implements Action.

Definition at line 32 of file rtreeactionrule.cpp.

References attribute, Node::evaluate(), expr, global, name, NameSpace::setAttributeValue(), and Node::toString().

Action * ActionSet::substitute const Node::Assignment assign  )  [virtual]
 

Implements Action.

Definition at line 42 of file rtreeactionrule.cpp.

References expr, name, and substituteNode().


Field Documentation

const string ActionSet::attribute [private]
 

An attribute.

Definition at line 33 of file rtreeactionrule.h.

Referenced by copy(), and execute().

Node* ActionSet::expr [private]
 

Expression that is evalueated.

Definition at line 35 of file rtreeactionrule.h.

Referenced by copy(), execute(), substitute(), and ~ActionSet().

const bool ActionSet::global [private]
 

Is the name a global name.

Definition at line 37 of file rtreeactionrule.h.

Referenced by copy(), and execute().

Node* ActionSet::name [private]
 

A name.

Definition at line 31 of file rtreeactionrule.h.

Referenced by copy(), execute(), substitute(), and ~ActionSet().


The documentation for this class was generated from the following files:
Generated on Fri Nov 21 17:54:05 2003 for PHPX by doxygen 1.3.3