IODA Bundle
HttpHandleFactory.cc
Go to the documentation of this file.
1 /*
2  * (C) Copyright 1996-2013 ECMWF.
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 #include <sstream>
12 
13 
14 #include "eckit/utils/StringTools.h"
15 
16 #include "odc/data/HttpHandle.h"
18 
19 using namespace eckit;
20 using namespace std;
21 
22 namespace odc {
23 
24 HttpHandleFactory::HttpHandleFactory()
25 : DataHandleFactory("http")
26 {}
27 
28 eckit::DataHandle* HttpHandleFactory::makeHandle(const std::string& r) const
29 {
30  return new HttpHandle(r);
31 }
32 
33 } // namespace odc
eckit::DataHandle * makeHandle(const std::string &) const
Definition: ColumnInfo.h:23
Definition: encode.cc:30