UNIVERS
15.3
UNIVERS base processing software API
|
#include <s2_ldb.hpp>
Public Member Functions | |
S2ReflKinLDB (const dbItem &db_item) | |
virtual | ~S2ReflKinLDB () |
void | setApriorityDbTable (const dbItem &db_item_apr) |
bool | save (const std::vector< S2ReflSim::KinParams > &kps, int *saved_db_line=0x0) |
bool | load (std::vector< S2ReflSim::KinParams > &kps) |
bool | save (const std::vector< S2ReflSim::AprItem > &apr) |
bool | load (std::vector< S2ReflSim::AprItem > &apr) |
UDBSeis::OSType | getOSType () const |
void | setOSType (UDBSeis::OSType os_type) |
bool & | isRewrite () |
void | setName (const std::string &name) |
std::string | getName () const |
void | setApriorityName (const std::string &name) |
std::string | getApriorityName () const |
Protected Attributes | |
dbItem | m_db_item |
dbItem | m_db_item_apr |
bool | m_is_rewrite |
UDBSeis::OSType | m_os_type |
std::string | m_name |
std::string | m_name_apr |
Provides surface seismic reflections kinematic db access.
S2ReflKinLDB::S2ReflKinLDB | ( | const dbItem & | db_item | ) |
Construct object, with provided db item, default OS is CMP, rewrites db table on save with empty name by default.
|
virtual |
Destruct object
|
inline |
Get current kinematic table name
|
inline |
Get current kinematic table name
|
inline |
Current os type.
|
inline |
Access to rewrite db table on save flag.
bool S2ReflKinLDB::load | ( | std::vector< S2ReflSim::KinParams > & | kps | ) |
Load kinematics from db, return false on error
bool S2ReflKinLDB::load | ( | std::vector< S2ReflSim::AprItem > & | apr | ) |
Load kinematics apriority table from db, return false on error
bool S2ReflKinLDB::save | ( | const std::vector< S2ReflSim::KinParams > & | kps, |
int * | saved_db_line = 0x0 |
||
) |
Save kinematics to DB, return false on error.
bool S2ReflKinLDB::save | ( | const std::vector< S2ReflSim::AprItem > & | apr | ) |
Save kinematics apriority table to DB, return false on error.
|
inline |
Set apriority db table
|
inline |
Set kinematic table name
|
inline |
Set kinematic table name
|
inline |
Set os type.
|
protected |
Data base item
|
protected |
Apriority db table
|
protected |
True if db table rewrites on save.
|
protected |
Name of kinematic table.
|
protected |
Name of apriority table
|
protected |
Type of observation system.