OGS
Region.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <string>
13#include <vector>
14
15namespace FileIO
16{
17namespace Gocad
18{
19struct Region final
20{
21 std::string name;
22 unsigned bit{};
23
24 bool operator==(Region const& r) const { return bit == r.bit; }
25};
26
27std::ostream& operator<<(std::ostream& os, Region const& r);
28
29Region parseRegion(std::string const& line);
30
31} // end namespace Gocad
32} // end namespace FileIO
std::ostream & operator<<(std::ostream &os, CoordinateSystem const &c)
Region parseRegion(std::string const &line)
Definition Region.cpp:26
std::string name
Definition Region.h:21
bool operator==(Region const &r) const
Definition Region.h:24