Unicorn XML Toolkit
Version 1.00.00

Namespace Xpath
Class CNodeArrayFactory

class CNodeArrayFactory: public CInterface {
public:
    CNodeArrayFactory();
    virtual ~CNodeArrayFactory();
public:
    virtual XNodeArray CreateNodeArray(const XDataSet &pDataSet) = 0;
    };

The abstract interface to node array factories.

Node array factories used for generation of empty node arrays.

At least one derived class must be supplied to provide implementation of this interface. The default implementation is provided via the CBasicNodeArrayFactory class.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CNodeArray, CDataSet
Constructor/Destructor Summary
CNodeArrayFactory ();
����������Constructs the node array factory.
~CNodeArrayFactory ();
����������Destroys the node array factory.

Function Summary
XNodeArray CreateNodeArray (const XDataSet &pDataSet);
����������Creates an empty node array.

Constructor/Destructor Detail

CNodeArrayFactory

CNodeArrayFactory();

Constructs the node array factory.

~CNodeArrayFactory

virtual ~CNodeArrayFactory();

Destroys the node array factory.

Function Detail

CreateNodeArray

virtual XNodeArray CreateNodeArray(const XDataSet &pDataSet) = 0;

Creates an empty node array.

The data set that controls ordering of nodes must be supplied.

Parameters:
pDataSet - the data set that controls ordering of nodes in the node array
Returns:
the newly created node array

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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