Debian Codegraph @

src/atlas/grid/SpecRegistry.cc

raw
1 /*
2 * (C) Copyright 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
8 * nor does it submit to any jurisdiction.
9 */
10
11 #include "atlas/grid/SpecRegistry.h"
12
13
14 namespace atlas {
15 namespace grid {
16 //---------------------------------------------------------------------------------------------------------------------
17
18 util::Registry<Spec>& SpecRegistry::registry() {
19 static util::Registry<Spec> registry;
20 return registry;
21 }
22
23 //---------------------------------------------------------------------------------------------------------------------
24
25 } // namespace grid
26 } // namespace atlas