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

SmartyAssign Class Reference

Assignment to smarty variable. More...

#include <stree.h>

Inheritance diagram for SmartyAssign:

Binary List Node

Public Member Functions

 SmartyAssign (Node *statement1, Node *statement2)
 Constructor.

 SmartyAssign (Node *statement1, Node *statement2, string iphpOut)
 Constructor.

virtual ostream & php (ostream &os) const
 Writes node to the stream as php.

const NodegetVariable () const
 Returns variable.

const NodegetAssignment () const
 Return value assigned.

void setPHPOut (string iphpOut)
 Sets SmartyAssign::phpOut.

virtual Nodecopy () const
 Copies the node.


Private Attributes

string phpOut
 A php output string.


Detailed Description

Assignment to smarty variable.

The meaning of arguments is as follows:

Definition at line 415 of file stree.h.


Constructor & Destructor Documentation

SmartyAssign::SmartyAssign Node statement1,
Node statement2
 

Constructor.

Definition at line 399 of file stree.cpp.

References CSmartyAssign.

Referenced by copy().

SmartyAssign::SmartyAssign Node statement1,
Node statement2,
string  iphpOut
 

Constructor.

Definition at line 402 of file stree.cpp.

References CSmartyAssign.


Member Function Documentation

Node * SmartyAssign::copy  )  const [virtual]
 

Copies the node.

Reimplemented from Binary.

Definition at line 422 of file stree.cpp.

References Binary::getStatement1(), Binary::getStatement2(), phpOut, and SmartyAssign().

const Node * SmartyAssign::getAssignment  )  const
 

Return value assigned.

Definition at line 414 of file stree.cpp.

References Binary::getStatement2().

Referenced by NamedContext::processSmartyAssign(), and MultiContext::processSmartyAssign().

const Node * SmartyAssign::getVariable  )  const
 

Returns variable.

Definition at line 410 of file stree.cpp.

References Binary::getStatement1().

Referenced by NamedContext::processSmartyAssign(), and MultiContext::processSmartyAssign().

ostream & SmartyAssign::php ostream &  os  )  const [virtual]
 

Writes node to the stream as php.

Reimplemented from Binary.

Definition at line 405 of file stree.cpp.

References phpOut.

void SmartyAssign::setPHPOut string  iphpOut  ) 
 

Sets SmartyAssign::phpOut.

Definition at line 418 of file stree.cpp.

References phpOut.

Referenced by NamedContext::processSmartyAssign(), and MultiContext::processSmartyAssign().


Field Documentation

string SmartyAssign::phpOut [private]
 

A php output string.

Definition at line 417 of file stree.h.

Referenced by copy(), php(), and setPHPOut().


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