~zorba-coders/zorba/bugs-912586-912593-912722

« back to all changes in this revision

Viewing changes to src/functions/pregenerated/func_uris.cpp

  • Committer: Cezar Andrei
  • Date: 2012-03-28 15:42:12 UTC
  • mfrom: (10606.1.129 zorba)
  • Revision ID: cezar.lp@cezarandrei.com-20120328154212-jh2heq49xcqjppce
Merge from trunck and resolve ChangeLog conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2006-2008 The FLWOR Foundation.
 
3
 *
 
4
 * Licensed under the Apache License, Version 2.0 (the "License");
 
5
 * you may not use this file except in compliance with the License.
 
6
 * You may obtain a copy of the License at
 
7
 *
 
8
 * http://www.apache.org/licenses/LICENSE-2.0
 
9
 *
 
10
 * Unless required by applicable law or agreed to in writing, software
 
11
 * distributed under the License is distributed on an "AS IS" BASIS,
 
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
 * See the License for the specific language governing permissions and
 
14
 * limitations under the License.
 
15
 */
 
16
 
 
17
// ******************************************
 
18
// *                                        *
 
19
// * THIS IS A GENERATED FILE. DO NOT EDIT! *
 
20
// * SEE .xml FILE WITH SAME NAME           *
 
21
// *                                        *
 
22
// ******************************************
 
23
 
 
24
 
 
25
#include "stdafx.h"
 
26
#include "runtime/uris/uris.h"
 
27
#include "functions/func_uris.h"
 
28
 
 
29
 
 
30
namespace zorba{
 
31
 
 
32
 
 
33
 
 
34
PlanIter_t fn_zorba_uri_decode::codegen(
 
35
  CompilerCB*,
 
36
  static_context* sctx,
 
37
  const QueryLoc& loc,
 
38
  std::vector<PlanIter_t>& argv,
 
39
  expr& ann) const
 
40
{
 
41
  return new DecodeURIIterator(sctx, loc, argv);
 
42
}
 
43
 
 
44
void populate_context_uris(static_context* sctx)
 
45
{
 
46
  {
 
47
    
 
48
 
 
49
    DECL_WITH_KIND(sctx, fn_zorba_uri_decode,
 
50
        (createQName("http://www.zorba-xquery.com/modules/uri","","decode"), 
 
51
        GENV_TYPESYSTEM.STRING_TYPE_ONE, 
 
52
        GENV_TYPESYSTEM.BOOLEAN_TYPE_ONE, 
 
53
        GENV_TYPESYSTEM.STRING_TYPE_ONE, 
 
54
        GENV_TYPESYSTEM.STRING_TYPE_ONE),
 
55
        FunctionConsts::FN_ZORBA_URI_DECODE_3);
 
56
 
 
57
  }
 
58
 
 
59
}
 
60
 
 
61
 
 
62
}
 
63
 
 
64
 
 
65