OGS
Region.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <string>
7#include <vector>
8
9namespace FileIO
10{
11namespace Gocad
12{
13struct Region final
14{
15 std::string name;
16 unsigned bit{};
17
18 bool operator==(Region const& r) const { return bit == r.bit; }
19};
20
21std::ostream& operator<<(std::ostream& os, Region const& r);
22
23Region parseRegion(std::string const& line);
24
25} // end namespace Gocad
26} // end namespace FileIO
std::ostream & operator<<(std::ostream &os, CoordinateSystem const &c)
Region parseRegion(std::string const &line)
Definition Region.cpp:20
std::string name
Definition Region.h:15
bool operator==(Region const &r) const
Definition Region.h:18