Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CExternalParamList

class CExternalParamList {
public:
    CExternalParamList();
    ~CExternalParamList();
public:
    void RemoveAll();
    void Add(
        const CString &strQName,
        const XValue &pValue);
    void Add(
        const CString &strNamespaceUri,
        const CString &strLocalName,
        const XValue &pValue);
    int GetSize() const;
    void GetAt(
        int nIndex,
        CString &strQName,
        CString &strNamespaceUri,
        CString &strLocalName,
        XValue &pValue) const;
    };

The value list for stylesheet top-level parameters.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
Xpath::CValue
Constructor/Destructor Summary
CExternalParamList ();
����������Constructs the external parameter list.
~CExternalParamList ();
����������Destroys the external parameter list.

Function Summary
void RemoveAll ();
����������Removes all parameters from this external parameter list.
void Add (const CString &strQName, const XValue &pValue);
����������Adds a single parameter value to the end of this external parameter list; the parameter is identified by its qualified name.
void Add (const CString &strNamespaceUri, const CString &strLocalName, const XValue &pValue);
����������Adds a single parameter value to the end of this external parameter list; the parameter is identified by its namespace URI and local name.
int GetSize ();
����������Returns the number of parameters in this external parameter list.
void GetAt (int nIndex, CString &strQName, CString &strNamespaceUri, CString &strLocalName, XValue &pValue);
����������Returns the parameter at the given index of this external parameter list.

Constructor/Destructor Detail

CExternalParamList

CExternalParamList();

Constructs the external parameter list.

~CExternalParamList

~CExternalParamList();

Destroys the external parameter list.

Function Detail

RemoveAll

void RemoveAll();

Removes all parameters from this external parameter list.

Add

void Add(
    const CString &strQName,
    const XValue &pValue);

Adds a single parameter value to the end of this external parameter list; the parameter is identified by its qualified name.

Parameters:
strQName - the qualified name of the parameter
pValue - the value of the parameter

Add

void Add(
    const CString &strNamespaceUri,
    const CString &strLocalName,
    const XValue &pValue);

Adds a single parameter value to the end of this external parameter list; the parameter is identified by its namespace URI and local name.

Parameters:
strNamespaceUri - the namespace URI of the parameter
strLocalName - the local name of the parameter
pValue - the value of the parameter

GetSize

int GetSize();

Returns the number of parameters in this external parameter list.

Returns:
the number of parameters in this external parameter list

GetAt

void GetAt(
    int nIndex,
    CString &strQName,
    CString &strNamespaceUri,
    CString &strLocalName,
    XValue &pValue);

Returns the parameter at the given index of this external parameter list.

This function returns either the qualified name, or the nameapace URI and the local name of the parameter, depending on the way the parameter was added to the list. No attempt is made to resolve qualified names into namespace URI and local names.

Parameters:
nIndex - the index of the parameter (zero-based)
strQName - on return, the qualified name of the parameter at the given index, or the empty string if none was specified
strNamespaceUri - on return, the namespace URI of the parameter at the given index, or the empty string if none was specified
strLocalName - on return, the local name of the parameter at the given index, or the empty string if none was specified
pValue - on return, the value of the parameter at the given index

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.