OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
Public Member Functions | List of all members
InternalZGY::PushEnvironment Class Reference

#include <environment.h>

Public Member Functions

 PushEnvironment (const char *name, const char *value=nullptr)
 
 ~PushEnvironment ()
 Restore the environment variable to its previous content.
 
void restore ()
 Restore the environment variable to its previous content.
 

Detailed Description

Set the environment as specified, and arrange for the previous value to be restored when the instance goes out of scope.

Constructor & Destructor Documentation

◆ PushEnvironment()

InternalZGY::PushEnvironment::PushEnvironment ( const char *  name,
const char *  value = nullptr 
)

Set the environment as specified, and arrange for the previous value to be restored when the instance goes out of scope.


The documentation for this class was generated from the following files: