|
OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
|
Simplified GUID handling. Only big endian, random number guids. More...
#include <guid.h>
Public Types | |
| typedef std::array< std::uint8_t, 16 > | guid_bytes_t |
Public Member Functions | |
| GUID (const guid_bytes_t &in) | |
| GUID (nullptr_t) | |
| std::string | toString () const |
| void | copyTo (std::uint8_t *ptr, std::int64_t len) |
Simplified GUID handling. Only big endian, random number guids.
The old ZGY accessor relies on an external dependency to an "uuid" package which tends to change between linux distros. This has caused a number of headaches. So, don't do that.
| void InternalZGY::GUID::copyTo | ( | std::uint8_t * | ptr, |
| std::int64_t | len | ||
| ) |
Copy the raw bytes of the guid to the specified pointer. The length is redundant. It should always be 16 but is included because it is then more obvious at the calling site what is going on.
1.8.17