Debian Codegraph @

src/atlas/grid/Iterator.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/Iterator.h"
12
13 //---------------------------------------------------------------------------------------------------------------------
14
15 namespace atlas {
16 namespace grid {
17
18 IterateXY::iterator IterateXY::begin() const {
19 return grid_.xy_begin();
20 }
21
22 IterateXY::iterator IterateXY::end() const {
23 return grid_.xy_end();
24 }
25
26 IterateLonLat::iterator IterateLonLat::begin() const {
27 return grid_.lonlat_begin();
28 }
29
30 IterateLonLat::iterator IterateLonLat::end() const {
31 return grid_.lonlat_end();
32 }
33
34 } // namespace grid
35 } // namespace atlas