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

Low level tools for data conversion. More...

#include "../declspec.h"
#include <array>
#include <sstream>
#include <iomanip>
#include <cstring>
#include <type_traits>

Go to the source code of this file.

Namespaces

 InternalZGY
 Implementation not visible to clients.
 

Functions

template<typename T , std::size_t N>
std::array< T, N > InternalZGY::ptr_to_array (const T *in)
 
template<typename T >
InternalZGY::align (const T &in)
 
template<typename T , std::size_t N>
std::string InternalZGY::array_to_string (const std::array< T, N > &a)
 
template<typename T , std::size_t N>
std::string InternalZGY::array_to_hex (const std::array< T, N > &a)
 
template<typename T , std::size_t N>
std::string InternalZGY::ptr_to_string (const T *a)
 
template<typename T , std::size_t N>
std::string InternalZGY::ptr_to_hex (const T *a)
 
OPENZGY_TEST_API void InternalZGY::byteswapV1Long (std::int64_t *ptr, size_t n=1)
 
OPENZGY_TEST_API void InternalZGY::byteswapV1Long (std::uint64_t *ptr, size_t n=1)
 
template<typename T , typename U , int N>
std::array< T, N > InternalZGY::array_cast (const std::array< U, N > &in)
 

Detailed Description

Low level tools for data conversion.