MI - Fimex
OceanSG2.h
Go to the documentation of this file.
1 /*
2  * Fimex, OceanSG2.h
3  *
4  * (C) Copyright 2013, met.no
5  *
6  * Project Info: https://wiki.met.no/fimex/start
7  *
8  * This library is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU Lesser General Public License as published by
10  * the Free Software Foundation; either version 2.1 of the License, or
11  * (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  * License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
21  * USA.
22  *
23  * Created on: Aug 6, 2013
24  * Author: heikok
25  */
26 
27 #ifndef OCEANSG2_H_
28 #define OCEANSG2_H_
29 
31 
32 namespace MetNoFimex
33 {
42 // for all implementations, see OceanSG1.h or OceanSG1.cc
43 class OceanSG2 : public OceanSG1
44 {
45 public:
55  // unconventionally defined in OceanSG1.cc
56  OceanSG2(const std::string& s, const std::string& C, const std::string& depth, const std::string& depth_c, const std::string& eta = "");
57  virtual ~OceanSG2() {}
62  static const std::string NAME() {return "ocean_s_coordinate_g2";}
66  virtual std::string getName() const { return NAME(); }
67 };
68 
69 } /* namespace MetNoFimex */
70 #endif /* OCEANSG2_H_ */
Definition: OceanSG1.h:42
static const std::string NAME()
Definition: OceanSG2.h:62
OceanSG2(const std::string &s, const std::string &C, const std::string &depth, const std::string &depth_c, const std::string &eta="")
basic_string< char > string
Definition: C_CDMReader.h:35
const std::string depth_c
Definition: OceanSG1.h:50
const std::string s
Definition: OceanSG1.h:47
const std::string C
Definition: OceanSG1.h:48
const std::string depth
Definition: OceanSG1.h:49
virtual ~OceanSG2()
Definition: OceanSG2.h:57
virtual std::string getName() const
Definition: OceanSG2.h:66
Definition: OceanSG2.h:43
const std::string eta
Definition: OceanSG1.h:52