4#include "../private/h5enum.h"
9#if !defined(MAGIC_ENUM_RANGE_MIN)
10#define MAGIC_ENUM_RANGE_MIN 0
13#if !defined(MAGIC_ENUM_RANGE_MAX)
14#define MAGIC_ENUM_RANGE_MAX 256
17#include <magic_enum.hpp>
31inline constexpr auto spatial_reference =
"spatial_reference";
32inline constexpr auto length_units =
"length_units";
33inline constexpr auto temporal_units =
"temporal_units";
34inline constexpr auto data_units =
"data_units";
35inline constexpr auto angular_units =
"angular_units";
36inline constexpr auto null_value =
"null_value";
38inline constexpr auto& cnt_attrs =
39 magic_enum::enum_names<h5geo::detail::ContainerAttributes>();
40inline constexpr auto ContainerType = magic_enum::enum_name(h5geo::detail::ContainerAttributes::ContainerType);
41inline constexpr auto& points_attrs =
42 magic_enum::enum_names<h5geo::detail::PointsAttributes>();
43inline constexpr auto& points_dsets =
44 magic_enum::enum_names<h5geo::detail::PointsDatasets>();
45inline constexpr auto points_data = magic_enum::enum_name(h5geo::detail::PointsDatasets::points_data);
46inline constexpr auto& horizon_attrs =
47 magic_enum::enum_names<h5geo::detail::HorizonAttributes>();
48inline constexpr auto& horizon_dsets =
49 magic_enum::enum_names<h5geo::detail::HorizonDatasets>();
50inline constexpr auto horizon_data = magic_enum::enum_name(h5geo::detail::HorizonDatasets::horizon_data);
51inline constexpr auto& seis_attrs =
52 magic_enum::enum_names<h5geo::detail::SeisAttributes>();
53inline constexpr auto Domain = magic_enum::enum_name(h5geo::detail::SeisAttributes::Domain);
54inline constexpr auto SeisDataType = magic_enum::enum_name(h5geo::detail::SeisAttributes::SeisDataType);
55inline constexpr auto SurveyType = magic_enum::enum_name(h5geo::detail::SeisAttributes::SurveyType);
56inline constexpr auto SRD = magic_enum::enum_name(h5geo::detail::SeisAttributes::SRD);
57inline constexpr auto& seis_dsets =
58 magic_enum::enum_names<h5geo::detail::SeisDatasets>();
59inline constexpr auto text_header = magic_enum::enum_name(h5geo::detail::SeisDatasets::text_header);
60inline constexpr auto bin_header = magic_enum::enum_name(h5geo::detail::SeisDatasets::bin_header);
61inline constexpr auto trace_header = magic_enum::enum_name(h5geo::detail::SeisDatasets::trace_header);
62inline constexpr auto trace = magic_enum::enum_name(h5geo::detail::SeisDatasets::trace);
63inline constexpr auto& seis_groups =
64 magic_enum::enum_names<h5geo::detail::SeisGroups>();
65inline constexpr auto sort = magic_enum::enum_name(h5geo::detail::SeisGroups::sort);
66inline constexpr auto indexes = magic_enum::enum_name(h5geo::detail::SeisGroups::indexes);
67inline constexpr auto unique_values = magic_enum::enum_name(h5geo::detail::SeisGroups::unique_values);
68inline constexpr auto& seis_segy_groups =
69 magic_enum::enum_names<h5geo::detail::SeisSEGYGroups>();
70inline constexpr auto segy = magic_enum::enum_name(h5geo::detail::SeisSEGYGroups::segy);
71inline constexpr auto& seis_segy_dsets =
72 magic_enum::enum_names<h5geo::detail::SeisSEGYDatasets>();
73inline constexpr auto bin_header_2bytes = magic_enum::enum_name(h5geo::detail::SeisSEGYDatasets::bin_header_2bytes);
74inline constexpr auto bin_header_4bytes = magic_enum::enum_name(h5geo::detail::SeisSEGYDatasets::bin_header_4bytes);
75inline constexpr auto trace_header_2bytes = magic_enum::enum_name(h5geo::detail::SeisSEGYDatasets::trace_header_2bytes);
76inline constexpr auto trace_header_4bytes = magic_enum::enum_name(h5geo::detail::SeisSEGYDatasets::trace_header_4bytes);
77inline constexpr auto trace_float = magic_enum::enum_name(h5geo::detail::SeisSEGYDatasets::trace_float);
78inline constexpr auto& map_attrs =
79 magic_enum::enum_names<h5geo::detail::MapAttributes>();
80inline constexpr auto origin = magic_enum::enum_name(h5geo::detail::MapAttributes::origin);
81inline constexpr auto point1 = magic_enum::enum_name(h5geo::detail::MapAttributes::point1);
82inline constexpr auto point2 = magic_enum::enum_name(h5geo::detail::MapAttributes::point2);
83inline constexpr auto& map_dsets =
84 magic_enum::enum_names<h5geo::detail::MapDatasets>();
85inline constexpr auto map_data = magic_enum::enum_name(h5geo::detail::MapDatasets::map_data);
86inline constexpr auto& vol_attrs =
87 magic_enum::enum_names<h5geo::detail::VolAttributes>();
88inline constexpr auto orientation = magic_enum::enum_name(h5geo::detail::VolAttributes::orientation);
89inline constexpr auto spacings = magic_enum::enum_name(h5geo::detail::VolAttributes::spacings);
90inline constexpr auto& vol_dsets =
91 magic_enum::enum_names<h5geo::detail::VolDatasets>();
92inline constexpr auto vol_data = magic_enum::enum_name(h5geo::detail::VolDatasets::vol_data);
93inline constexpr auto& well_attrs =
94 magic_enum::enum_names<h5geo::detail::WellAttributes>();
95inline constexpr auto head_coord = magic_enum::enum_name(h5geo::detail::WellAttributes::head_coord);
96inline constexpr auto KB = magic_enum::enum_name(h5geo::detail::WellAttributes::KB);
97inline constexpr auto UWI = magic_enum::enum_name(h5geo::detail::WellAttributes::UWI);
98inline constexpr auto& well_groups =
99 magic_enum::enum_names<h5geo::detail::WellGroups>();
100inline constexpr auto LOG = magic_enum::enum_name(h5geo::detail::WellGroups::LOG);
101inline constexpr auto DEV = magic_enum::enum_name(h5geo::detail::WellGroups::DEV);
102inline constexpr auto ACTIVE =
"ACTIVE";
103inline constexpr auto& dev_dsets =
104 magic_enum::enum_names<h5geo::detail::DevDatasets>();
105inline constexpr auto dev_data = magic_enum::enum_name(h5geo::detail::DevDatasets::dev_data);
106inline constexpr auto& log_dsets =
107 magic_enum::enum_names<h5geo::detail::LogDatasets>();
108inline constexpr auto log_data = magic_enum::enum_name(h5geo::detail::LogDatasets::log_data);
114inline constexpr auto& cnt_types =
115 magic_enum::enum_names<h5geo::ContainerType>();
116inline constexpr auto MAP = magic_enum::enum_name(h5geo::ContainerType::MAP);
117inline constexpr auto WELL = magic_enum::enum_name(h5geo::ContainerType::WELL);
118inline constexpr auto SEISMIC = magic_enum::enum_name(h5geo::ContainerType::SEISMIC);
119inline constexpr auto& obj_types =
120 magic_enum::enum_names<h5geo::ObjectType>();
121inline constexpr auto LOGCURVE = magic_enum::enum_name(h5geo::ObjectType::LOGCURVE);
122inline constexpr auto DEVCURVE = magic_enum::enum_name(h5geo::ObjectType::DEVCURVE);
123inline constexpr auto WELLTOPS = magic_enum::enum_name(h5geo::ObjectType::WELLTOPS);
124inline constexpr auto& domains =
125 magic_enum::enum_names<h5geo::Domain>();
126inline constexpr auto TVD = magic_enum::enum_name(h5geo::Domain::TVD);
127inline constexpr auto TVDSS = magic_enum::enum_name(h5geo::Domain::TVDSS);
128inline constexpr auto TWT = magic_enum::enum_name(h5geo::Domain::TWT);
129inline constexpr auto OWT = magic_enum::enum_name(h5geo::Domain::OWT);
130inline constexpr auto& seis_dtypes =
131 magic_enum::enum_names<h5geo::SeisDataType>();
132inline constexpr auto STACK = magic_enum::enum_name(h5geo::SeisDataType::STACK);
133inline constexpr auto PRESTACK = magic_enum::enum_name(h5geo::SeisDataType::PRESTACK);
134inline constexpr auto& survey_types =
135 magic_enum::enum_names<h5geo::SurveyType>();
136inline constexpr auto TWO_D = magic_enum::enum_name(h5geo::SurveyType::TWO_D);
137inline constexpr auto THREE_D = magic_enum::enum_name(h5geo::SurveyType::THREE_D);
138inline constexpr auto& text_encodings =
139 magic_enum::enum_names<h5geo::TextEncoding>();
140inline constexpr auto ASCII = magic_enum::enum_name(h5geo::TextEncoding::ASCII);
141inline constexpr auto EBCDIC = magic_enum::enum_name(h5geo::TextEncoding::EBCDIC);
142inline constexpr auto& segy_endians =
143 magic_enum::enum_names<h5geo::Endian>();
144inline constexpr auto Little = magic_enum::enum_name(h5geo::Endian::Little);
145inline constexpr auto Big = magic_enum::enum_name(h5geo::Endian::Big);
146inline constexpr auto& segy_formats =
147 magic_enum::enum_names<h5geo::SegyFormat>();
148inline constexpr auto FourByte_IBM = magic_enum::enum_name(h5geo::SegyFormat::FourByte_IBM);
149inline constexpr auto FourByte_IEEE = magic_enum::enum_name(h5geo::SegyFormat::FourByte_IEEE);
150inline constexpr auto FourByte_integer = magic_enum::enum_name(h5geo::SegyFormat::FourByte_integer);
151inline constexpr auto& well_dtypes =
152 magic_enum::enum_names<h5geo::WellDataType>();
153inline constexpr auto DEV = magic_enum::enum_name(h5geo::WellDataType::DEV);
154inline constexpr auto LOG = magic_enum::enum_name(h5geo::WellDataType::LOG);
155inline constexpr auto INTERVAL_VEL = magic_enum::enum_name(h5geo::WellDataType::INTERVAL_VEL);
156inline constexpr auto AVG_VEL = magic_enum::enum_name(h5geo::WellDataType::AVG_VEL);
157inline constexpr auto RMS_VEL = magic_enum::enum_name(h5geo::WellDataType::RMS_VEL);
158inline constexpr auto FWAL = magic_enum::enum_name(h5geo::WellDataType::FWAL);
159inline constexpr auto CHECKSHOTS = magic_enum::enum_name(h5geo::WellDataType::CHECKSHOTS);
160inline constexpr auto WELL_TIE = magic_enum::enum_name(h5geo::WellDataType::WELL_TIE);
161inline constexpr auto& dev_dtypes =
162 magic_enum::enum_names<h5geo::DevDataType>();
163inline constexpr auto MD = magic_enum::enum_name(h5geo::DevDataType::MD);
164inline constexpr auto X = magic_enum::enum_name(h5geo::DevDataType::X);
165inline constexpr auto Y = magic_enum::enum_name(h5geo::DevDataType::Y);
166inline constexpr auto Z = magic_enum::enum_name(h5geo::DevDataType::Z);
167inline constexpr auto DX = magic_enum::enum_name(h5geo::DevDataType::DX);
168inline constexpr auto DY = magic_enum::enum_name(h5geo::DevDataType::DY);
169inline constexpr auto AZIM = magic_enum::enum_name(h5geo::DevDataType::AZIM);
170inline constexpr auto INCL = magic_enum::enum_name(h5geo::DevDataType::INCL);
Basic namespace.
Definition h5base.h:29