IODA Bundle
FileHandleFactory.cc
Go to the documentation of this file.
1
/*
2
* (C) Copyright 1996-2016 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
#include "
odc/data/FileHandleFactory.h
"
14
#include "eckit/io/FileHandle.h"
15
16
using namespace
eckit
;
17
using namespace
std
;
18
19
namespace
odc
{
20
21
FileHandleFactory::FileHandleFactory()
22
:
DataHandleFactory
(
"file"
)
23
{}
24
25
eckit::DataHandle*
FileHandleFactory::makeHandle
(
const
string
& fileName)
const
26
{
27
return
new
FileHandle(fileName);
28
}
29
30
}
// namespace odc
FileHandleFactory.h
odc::DataHandleFactory
Definition:
DataHandleFactory.h:28
odc::FileHandleFactory::makeHandle
eckit::DataHandle * makeHandle(const std::string &) const
Definition:
FileHandleFactory.cc:25
eckit
Definition:
DistributionUtils.h:15
odc
Definition:
ColumnInfo.h:23
std
Definition:
encode.cc:30
odc
src
odc
data
FileHandleFactory.cc
Generated on Fri Aug 20 2021 11:49:04 for IODA Bundle by
1.9.1