Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

VariablesStack::StackEntry Class Reference

#include <VariablesStack.hpp>

Collaboration diagram for VariablesStack::StackEntry:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions


Detailed Description

Definition at line 336 of file VariablesStack.hpp.


Member Enumeration Documentation

Enumeration for types of stack entries, one of context state, context marker, element marker, or argument.

Enumerator:
eContextMarker 
eVariable 
eParam 
eActiveParam 
eElementFrameMarker 
eNextValue 

Definition at line 344 of file VariablesStack.hpp.


Constructor & Destructor Documentation

VariablesStack::StackEntry::StackEntry (  )  [explicit]

Construct a context marker.

VariablesStack::StackEntry::StackEntry ( const XalanQName name,
const XObjectPtr val,
bool  isParam = false 
)

Construct a variable that is already evaluated.

VariablesStack::StackEntry::StackEntry ( const XalanQName name,
const ElemVariable var,
bool  isParam = false 
)

Construct a variable that has not been evaluated yet.

VariablesStack::StackEntry::StackEntry ( const ElemTemplateElement elem  ) 

Construct an element frame marker.

VariablesStack::StackEntry::StackEntry ( const StackEntry theSource  ) 

Copy constructor...

VariablesStack::StackEntry::~StackEntry (  ) 

Destructor...


Member Function Documentation

void VariablesStack::StackEntry::activate (  ) 
void VariablesStack::StackEntry::deactivate (  ) 
const ElemTemplateElement* VariablesStack::StackEntry::getElement (  )  const [inline]

Retrieve the ElemTemplateElem where frame begins.

Valid only for element frame markers

Returns:
ElemTemplateElement corresponding to marker

Definition at line 456 of file VariablesStack.hpp.

const XalanQName* VariablesStack::StackEntry::getName (  )  const [inline]

Retrieve object name.

Valid only for variables

Returns:
qualified name of object

Definition at line 406 of file VariablesStack.hpp.

eType VariablesStack::StackEntry::getType (  )  const [inline]

Determine type of stack entry.

Returns:
enumeration value for type

Definition at line 395 of file VariablesStack.hpp.

const XObjectPtr& VariablesStack::StackEntry::getValue (  )  const [inline]

Retrieve object's XObject pointer.

Valid only for variables

Returns:
pointer to XObject

Definition at line 417 of file VariablesStack.hpp.

const ElemVariable* VariablesStack::StackEntry::getVariable (  )  const [inline]

Retrieve object's XObject pointer.

Valid only for variables

Returns:
pointer to XObject

Definition at line 439 of file VariablesStack.hpp.

StackEntry& VariablesStack::StackEntry::operator= ( const StackEntry theRHS  ) 
bool VariablesStack::StackEntry::operator== ( const StackEntry theRHS  )  const
void VariablesStack::StackEntry::setValue ( const XObjectPtr theValue  )  [inline]

Retrieve object's XObject pointer.

Valid only for variables

Returns:
pointer to XObject

Definition at line 428 of file VariablesStack.hpp.


The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo