atlas
RecordInfo.h
1 /*
2  * (C) Copyright 2020 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 #pragma once
12 
13 #include "atlas/io/detail/Time.h"
14 #include "atlas/io/detail/Version.h"
15 
16 namespace atlas {
17 namespace io {
18 
19 struct RecordInfo {
20  Version version_;
21  Time created_;
22 
23  const Version& version() const { return version_; }
24  const Time& created() const { return created_; }
25 };
26 
27 } // namespace io
28 } // namespace atlas
Definition: RecordInfo.h:19
Definition: Version.h:20
Store UTC time up to nanosecond precision.
Definition: Time.h:24
Contains all atlas classes and methods.
Definition: atlas-grids.cc:33