Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

FunctionTotal Class Reference

#include <RunningTotal.h>

Inheritance diagram for FunctionTotal

Inheritance graph

[legend]
Collaboration diagram for FunctionTotal:

Collaboration graph

[legend]
List of all members.

Public Methods

 FunctionTotal ()
virtual XObject* execute ( XPathExecutionContext& executionContext, XalanNode* context, int , const XObjectArgVectorType& args)
 Execute an XPath function object. More...

virtual FunctionTotal* clone () const
 Create a copy of the function object. More...


Private Methods

FunctionTotal& operator= (const FunctionTotal&)
bool operator== (const FunctionTotal&) const

Private Attributes

double m_sum

Constructor & Destructor Documentation

FunctionTotal::FunctionTotal ( )
 

Definition at line 19 of file RunningTotal.cpp.

Referenced by clone().


Member Function Documentation

FunctionTotal * FunctionTotal::clone ( ) const [virtual]
 

Create a copy of the function object.

Returns:
pointer to the new object

Definition at line 54 of file RunningTotal.cpp.

XObject * FunctionTotal::execute ( XPathExecutionContext & executionContext,
XalanNode * context,
int opPos,
const XObjectArgVectorType & args ) [virtual]
 

Execute an XPath function object.

The function must return a valid object.

Parameters:
executionContext   executing context
context   current context node
opPos   current op position
args   vector of pointers to XObject arguments
Returns:
pointer to the result XObject

Definition at line 34 of file RunningTotal.cpp.

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

bool FunctionTotal::operator== ( const FunctionTotal & ) const [private]
 


Member Data Documentation

double FunctionTotal::m_sum [private]
 

Definition at line 50 of file RunningTotal.h.


The documentation for this class was generated from the following files:
Generated at Tue Sep 12 18:45:26 2000 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000