/* * Copyright (c) 2001, DecisionSoft Limited All rights reserved. * Please see LICENSE.TXT for more information. */ /* Collection function */ #ifndef _FUNCTIONCOLLECTION_HPP #define _FUNCTIONCOLLECTION_HPP #include #include /** collection function. */ class PATHAN_EXPORT FunctionCollection : public DataItemFunction { public: static const XMLCh name[]; FunctionCollection(const VectorOfDataItems &args, XPath2MemoryManager* memMgr); virtual DataItem* staticResolution(StaticContext *context, StaticResolutionContext *src); /** resolve the uri and return the DOM tree **/ Sequence collapseTreeInternal(DynamicContext* context, int flags=0) const; }; #endif // _FUNCTIONCOLLECTION_HPP