swh:1:snp:6088ab52ef49920e01e3f334cdf4d5d6c8a822b9
Raw File
Tip revision: a8d0ca8ef5e9ffadc47ee36ddec7c18dec5aa331 authored by Dmitry Yu. Naumov on 28 April 2021, 15:18:21 UTC
Merge branch 'DoxygenFixes' into 'master'
Tip revision: a8d0ca8
GocadEnums.h
/**
 * \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>

namespace FileIO
{
namespace Gocad
{
enum class DataType
{
    UNDEFINED,
    VSET,
    PLINE,
    TSURF,
    MODEL3D,
    ALL
};

/// Given a Gocad DataType this returns the appropriate string.
std::string dataType2String(DataType const t);

/// Given a Gocad DataType this returns the appropriate short form.
std::string dataType2ShortString(DataType const t);

}  // namespace Gocad

}  // namespace FileIO
back to top