metaproxy
1.3.55
Main Page
Namespaces
Classes
Files
File List
File Members
src
factory_static.cpp
Go to the documentation of this file.
1
/* This file is part of Metaproxy.
2
Copyright (C) 2005-2013 Index Data
3
4
Metaproxy is free software; you can redistribute it and/or modify it under
5
the terms of the GNU General Public License as published by the Free
6
Software Foundation; either version 2, or (at your option) any later
7
version.
8
9
Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
10
WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#include <iostream>
20
#include <stdexcept>
21
22
#include "
factory_static.hpp
"
23
24
#include "
config.hpp
"
25
#include <metaproxy/filter.hpp>
26
#include <metaproxy/package.hpp>
27
28
#include "
factory_filter.hpp
"
29
30
#include "
filter_auth_simple.hpp
"
31
#include "
filter_backend_test.hpp
"
32
#include "
filter_bounce.hpp
"
33
#ifndef WIN32
34
#include "
filter_cgi.hpp
"
35
#endif
36
#include "
filter_cql_to_rpn.hpp
"
37
#include "
filter_frontend_net.hpp
"
38
#include "
filter_http_file.hpp
"
39
#include "
filter_limit.hpp
"
40
#include "
filter_load_balance.hpp
"
41
#include "
filter_log.hpp
"
42
#include "
filter_multi.hpp
"
43
#include "
filter_query_rewrite.hpp
"
44
#include "
filter_record_transform.hpp
"
45
#include "
filter_session_shared.hpp
"
46
#include "
filter_sort.hpp
"
47
#include "
filter_sru_to_z3950.hpp
"
48
#include "
filter_template.hpp
"
49
#include "
filter_virt_db.hpp
"
50
#include "
filter_z3950_client.hpp
"
51
#include "
filter_zeerex_explain.hpp
"
52
#include "
filter_zoom.hpp
"
53
54
namespace
mp = metaproxy_1;
55
56
mp::FactoryStatic::FactoryStatic
()
57
{
58
struct
metaproxy_1_filter_struct *buildins[] = {
59
&
metaproxy_1_filter_auth_simple
,
60
&
metaproxy_1_filter_backend_test
,
61
&
metaproxy_1_filter_bounce
,
62
#ifndef WIN32
63
&
metaproxy_1_filter_cgi
,
64
#endif
65
&
metaproxy_1_filter_cql_to_rpn
,
66
&
metaproxy_1_filter_frontend_net
,
67
&
metaproxy_1_filter_http_file
,
68
&
metaproxy_1_filter_limit
,
69
&
metaproxy_1_filter_load_balance
,
70
&
metaproxy_1_filter_log
,
71
&
metaproxy_1_filter_multi
,
72
&
metaproxy_1_filter_query_rewrite
,
73
&
metaproxy_1_filter_record_transform
,
74
&
metaproxy_1_filter_session_shared
,
75
&
metaproxy_1_filter_sort
,
76
&
metaproxy_1_filter_sru_to_z3950
,
77
&
metaproxy_1_filter_template
,
78
&
metaproxy_1_filter_virt_db
,
79
&
metaproxy_1_filter_z3950_client
,
80
&
metaproxy_1_filter_zeerex_explain
,
81
&
metaproxy_1_filter_zoom
,
82
0
83
};
84
int
i;
85
86
for
(i = 0; buildins[i]; i++)
87
add_creator
(buildins[i]->type, buildins[i]->creator);
88
}
89
90
91
/*
92
* Local variables:
93
* c-basic-offset: 4
94
* c-file-style: "Stroustrup"
95
* indent-tabs-mode: nil
96
* End:
97
* vim: shiftwidth=4 tabstop=8 expandtab
98
*/
99
Generated on Wed Apr 10 2013 10:33:01 for metaproxy by
1.8.1.2