Xalan-C++ API Reference  1.12.0
Public Member Functions | Static Public Member Functions | List of all members
xalanc::TopLevelArg Class Reference

This class holds an instance of an argument on the stack. More...

#include <xalanc/XSLT/TopLevelArg.hpp>

Public Member Functions

 TopLevelArg (MemoryManager &theManager, const XalanQName &name, const XalanDOMString &expr)
 Construct an argument object from a string expression. More...
 
 TopLevelArg (MemoryManager &theManager, const XalanQName &name, const XObjectPtr variable=XObjectPtr())
 Construct an argument object from an XObject instance. More...
 
 TopLevelArg (const TopLevelArg &theSource, MemoryManager &theManager)
 Copy constructor. More...
 
 ~TopLevelArg ()
 Destructor. More...
 
const XalanQNamegetName () const
 Retrieve object name. More...
 
const XalanDOMStringgetExpression () const
 Retrieve object's expression. More...
 
const XObjectPtr getXObject () const
 Retrieve object's XObject variable. More...
 
TopLevelArgoperator= (const TopLevelArg &theRHS)
 Assignment operator. More...
 

Static Public Member Functions

static TopLevelArgcreate (MemoryManager &theManager, const XalanQName &name, const XalanDOMString &expr)
 
static TopLevelArgcreate (MemoryManager &theManager, const XalanQName &name, const XObjectPtr variable=XObjectPtr())
 

Detailed Description

This class holds an instance of an argument on the stack.

Definition at line 50 of file TopLevelArg.hpp.

Constructor & Destructor Documentation

◆ TopLevelArg() [1/3]

xalanc::TopLevelArg::TopLevelArg ( MemoryManager &  theManager,
const XalanQName name,
const XalanDOMString expr 
)

Construct an argument object from a string expression.

Parameters
namename of argument
exprexpression argument represents

◆ TopLevelArg() [2/3]

xalanc::TopLevelArg::TopLevelArg ( MemoryManager &  theManager,
const XalanQName name,
const XObjectPtr  variable = XObjectPtr() 
)

Construct an argument object from an XObject instance.

Parameters
namename of argument
variablethe XObject instance.

◆ TopLevelArg() [3/3]

xalanc::TopLevelArg::TopLevelArg ( const TopLevelArg theSource,
MemoryManager &  theManager 
)

Copy constructor.

Parameters
theSourcethe TopLevelArg to copy.

◆ ~TopLevelArg()

xalanc::TopLevelArg::~TopLevelArg ( )

Destructor.

Member Function Documentation

◆ create() [1/2]

static TopLevelArg* xalanc::TopLevelArg::create ( MemoryManager &  theManager,
const XalanQName name,
const XalanDOMString expr 
)
static

◆ create() [2/2]

static TopLevelArg* xalanc::TopLevelArg::create ( MemoryManager &  theManager,
const XalanQName name,
const XObjectPtr  variable = XObjectPtr() 
)
static

◆ getExpression()

const XalanDOMString& xalanc::TopLevelArg::getExpression ( ) const
inline

Retrieve object's expression.

Returns
string representation of expression

Definition at line 118 of file TopLevelArg.hpp.

◆ getName()

const XalanQName& xalanc::TopLevelArg::getName ( ) const
inline

Retrieve object name.

Returns
qualified name of object

Definition at line 107 of file TopLevelArg.hpp.

◆ getXObject()

const XObjectPtr xalanc::TopLevelArg::getXObject ( ) const
inline

Retrieve object's XObject variable.

Returns
pointer to the XObject instance

Definition at line 129 of file TopLevelArg.hpp.

◆ operator=()

TopLevelArg& xalanc::TopLevelArg::operator= ( const TopLevelArg theRHS)
inline

Assignment operator.

Definition at line 138 of file TopLevelArg.hpp.


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