OGS
GocadEnums.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
8namespace FileIO
9{
10namespace Gocad
11{
21
23std::string dataType2String(DataType const t);
24
26std::string dataType2ShortString(DataType const t);
27
28} // namespace Gocad
29
30} // namespace FileIO
std::string dataType2String(DataType const t)
Given a Gocad DataType this returns the appropriate string.
std::string dataType2ShortString(DataType const t)
Given a Gocad DataType this returns the appropriate short form.