OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1//
2// Struct version
3//
4// Copyright (c) 2015, Christof Metzger-Kraus, Helmholtz-Zentrum Berlin
5// All rights reserved
6//
7// This file is part of OPAL.
8//
9// OPAL is free software: you can redistribute it and/or modify
10// it under the terms of the GNU General Public License as published by
11// the Free Software Foundation, either version 3 of the License, or
12// (at your option) any later version.
13//
14// You should have received a copy of the GNU General Public License
15// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
16//
17#ifndef VERSION_HPP_
18#define VERSION_HPP_
19
20#include "ast.hpp"
21#include "error_handler.hpp"
22#include "skipper.hpp"
23
24namespace SDDS {
25 struct version {
27 };
28
29 inline std::ostream& operator<<(std::ostream& out, const version& head) {
30 out << "layout version is " << head.layoutVersion_m;
31 return out;
32 }
33} // namespace SDDS
34
35// Version parsing is now handled by SimpleParser
36#endif /* VERSION_HPP_ */
short layoutVersion_m
Definition version.hpp:26
std::ostream & operator<<(std::ostream &out, const array &)
Definition array.hpp:87