OGS
Region.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include <string>
13 #include <vector>
14 
15 namespace FileIO
16 {
17 namespace Gocad
18 {
19 struct Region final
20 {
21  std::string name;
22  unsigned bit{};
23 
24  bool operator==(Region const& r) const { return bit == r.bit; }
25 };
26 
27 std::ostream& operator<<(std::ostream& os, Region const& r);
28 
29 Region 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
static const double r
std::string name
Definition: Region.h:21
bool operator==(Region const &r) const
Definition: Region.h:24