swh:1:snp:6088ab52ef49920e01e3f334cdf4d5d6c8a822b9
Raw File
Tip revision: e5d2a18651d52db235f6a7fd2a394632728847cf authored by Lars Bilke on 06 October 2021, 10:33:42 UTC
[cmake] Fixed hdf5 mpi check when using CPM for hdf5.
Tip revision: e5d2a18
Region.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 */

#pragma once

#include <string>
#include <vector>

namespace FileIO
{
namespace Gocad
{
struct Region final
{
    std::string name;
    unsigned bit{};

    bool operator==(Region const& r) const { return bit == r.bit; }
};

std::ostream& operator<<(std::ostream& os, Region const& r);

Region parseRegion(std::string const& line);

}  // end namespace Gocad
}  // end namespace FileIO
back to top