OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
Namespaces | Typedefs | Enumerations
enum.h File Reference

enums and type aliases not visible to the public API. More...

#include <array>
#include <cstdint>
#include <memory>
#include <functional>

Go to the source code of this file.

Namespaces

 InternalZGY
 Implementation not visible to clients.
 

Typedefs

typedef std::array< std::int64_t, 3 > InternalZGY::index3_t
 type equivalent to std::int64_t[3] More...
 
typedef std::pair< std::shared_ptr< const void >, std::int64_t > InternalZGY::rawdata_t
 Shared data plus size. No other information. More...
 
typedef std::function< rawdata_t(const rawdata_t &, const index3_t &)> InternalZGY::compressor_t
 Function for compressing a brick. More...
 

Enumerations

enum  InternalZGY::RawDataType {
  SignedInt8 = 0, UnsignedInt8 = 1, SignedInt16 = 2, UnsignedInt16 = 3,
  SignedInt32 = 4, UnsignedInt32 = 5, Float32 = 6, IbmFloat32 = 7
}
 
enum  InternalZGY::RawCoordType {
  Unknown = 0, Meters = 1, Feet = 2, ArcSec = 3,
  ArcDeg = 4, ArcDegMinSec = 5
}
 
enum  InternalZGY::RawHorizontalDimension { Unknown = 0, Length = 1, ArcAngle = 2 }
 
enum  InternalZGY::RawVerticalDimension { Unknown = 0, Depth = 1, SeismicTWT = 2, SeismicOWT = 3 }
 
enum  InternalZGY::RawGridDefinition { Unknown = 0, Parametric = 1, ThreePoint = 2, FourPoint = 3 }
 
enum  InternalZGY::BrickStatus { Missing = 0, Constant = 1, Normal = 2, Compressed = 3 }
 
enum  InternalZGY::UpdateMode { Never = 0, Constant = 1, Always = 4, Pedantic = 5 }
 

Detailed Description

enums and type aliases not visible to the public API.

Some of the enums are used to describe parts of the file format, giving a symbolic name to an integer stored in the file. That kind of information should definitely be hidden from clients.