OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-352-gf10a2b326e source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
Applications
►
ApplicationsLib
►
CLI
►
DataExplorer
►
DataHolderLib
▼
FileIO
►
FEFLOW
►
Gmsh
▼
GocadIO
►
CoordinateSystem.cpp
►
CoordinateSystem.h
►
GenerateFaceSetMeshes.cpp
►
GenerateFaceSetMeshes.h
►
GocadAsciiReader.cpp
►
GocadAsciiReader.h
►
GocadEnums.cpp
►
GocadEnums.h
►
GocadNode.cpp
►
GocadNode.h
►
GocadSGridReader.cpp
►
GocadSGridReader.h
►
IndexCalculator.h
►
Layer.cpp
►
Layer.h
►
Property.cpp
►
Property.h
►
Region.cpp
►
Region.h
►
Legacy
►
SWMM
►
XmlIO
CsvInterface.cpp
►
CsvInterface.h
►
GMSInterface.cpp
►
GMSInterface.h
►
PetrelInterface.cpp
►
PetrelInterface.h
►
readGeometryFromFile.cpp
►
readGeometryFromFile.h
SHPInterface.cpp
►
SHPInterface.h
►
TetGenInterface.cpp
►
TetGenInterface.h
►
writeGeometryToFile.cpp
►
writeGeometryToFile.h
►
InSituLib
►
Python
►
Utils
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
GocadEnums.cpp
Go to the documentation of this file.
1
11
#include "
GocadEnums.h
"
12
13
namespace
FileIO
14
{
15
namespace
Gocad
16
{
17
std::string
dataType2String
(
DataType
const
t)
18
{
19
if
(t ==
DataType::UNDEFINED
)
20
{
21
return
"[Undefined Type]"
;
22
}
23
if
(t ==
DataType::VSET
)
24
{
25
return
"GOCAD VSet"
;
26
}
27
if
(t ==
DataType::PLINE
)
28
{
29
return
"GOCAD PLine"
;
30
}
31
if
(t ==
DataType::TSURF
)
32
{
33
return
"GOCAD TSurf"
;
34
}
35
if
(t ==
DataType::MODEL3D
)
36
{
37
return
"GOCAD Model3d"
;
38
}
39
return
"[all types]"
;
40
}
17
std::string
dataType2String
(
DataType
const
t) {
…
}
41
42
std::string
dataType2ShortString
(
DataType
const
t)
43
{
44
if
(t ==
DataType::UNDEFINED
)
45
{
46
return
"[undefined]"
;
47
}
48
if
(t ==
DataType::VSET
)
49
{
50
return
"vertices"
;
51
}
52
if
(t ==
DataType::PLINE
)
53
{
54
return
"line"
;
55
}
56
if
(t ==
DataType::TSURF
)
57
{
58
return
"surface"
;
59
}
60
if
(t ==
DataType::MODEL3D
)
61
{
62
return
"model"
;
63
}
64
return
"[all data]"
;
65
}
42
std::string
dataType2ShortString
(
DataType
const
t) {
…
}
66
67
}
// namespace Gocad
68
69
}
// namespace FileIO
GocadEnums.h
FileIO::Gocad::dataType2String
std::string dataType2String(DataType const t)
Given a Gocad DataType this returns the appropriate string.
Definition
GocadEnums.cpp:17
FileIO::Gocad::DataType
DataType
Definition
GocadEnums.h:20
FileIO::Gocad::DataType::UNDEFINED
@ UNDEFINED
FileIO::Gocad::DataType::TSURF
@ TSURF
FileIO::Gocad::DataType::MODEL3D
@ MODEL3D
FileIO::Gocad::DataType::VSET
@ VSET
FileIO::Gocad::DataType::PLINE
@ PLINE
FileIO::Gocad::dataType2ShortString
std::string dataType2ShortString(DataType const t)
Given a Gocad DataType this returns the appropriate short form.
Definition
GocadEnums.cpp:42
FileIO
Definition
SHPImportDialog.h:19
Applications
FileIO
GocadIO
GocadEnums.cpp
Generated by
1.11.0