This commit is contained in:
King_DuckZ 2020-02-17 22:12:51 +01:00
parent 9b71614762
commit 8c48174b5b
1642 changed files with 28571 additions and 18190 deletions

View file

@ -1,14 +1,22 @@
/*
* Copyright (c) 2001-2006
* Copyright (c) 2001-2007
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004-2006
* Progress Software Corporation. All rights reserved.
* Copyright (c) 2004-2006
* Copyright (c) 2004-2007
* Oracle. All rights reserved.
*
* See the file LICENSE for redistribution information.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* $Id: XQUserFunction.hpp,v 1.19 2007/08/16 13:08:27 jpcs Exp $
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $Id: XQUserFunction.hpp,v 1.21 2007/11/28 13:13:23 jpcs Exp $
*/
#ifndef XQUSERFUNCTION_HPP
@ -60,7 +68,7 @@ public:
public:
Instance(const XQUserFunction *funcDef, const VectorOfASTNodes& args, XPath2MemoryManager* expr);
virtual Result getArgument(unsigned int index, DynamicContext *context) const;
virtual Result getArgument(size_t index, DynamicContext *context) const;
Result createResult(DynamicContext* context, int flags=0) const;
virtual void generateEvents(EventHandler *events, DynamicContext *context,
@ -117,8 +125,8 @@ public:
virtual const XMLCh* getName() const { return name_; }
virtual const XMLCh *getURI() const { return uri_; }
virtual const XMLCh *getURINameHash() const { return uriname_; }
virtual unsigned int getMinArgs() const;
virtual unsigned int getMaxArgs() const;
virtual size_t getMinArgs() const;
virtual size_t getMaxArgs() const;
const ArgumentSpecs* getArgumentSpecs() const { return argSpecs_; }
const SequenceType* getReturnType() const { return returnType_; }