UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
S2ReflKinLDB Class Reference

#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
 

Detailed Description

Provides surface seismic reflections kinematic db access.

Constructor & Destructor Documentation

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 S2ReflKinLDB::~S2ReflKinLDB ( )
virtual

Destruct object

Member Function Documentation

std::string S2ReflKinLDB::getApriorityName ( ) const
inline

Get current kinematic table name

std::string S2ReflKinLDB::getName ( ) const
inline

Get current kinematic table name

UDBSeis::OSType S2ReflKinLDB::getOSType ( ) const
inline

Current os type.

bool& S2ReflKinLDB::isRewrite ( )
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.

void S2ReflKinLDB::setApriorityDbTable ( const dbItem db_item_apr)
inline

Set apriority db table

void S2ReflKinLDB::setApriorityName ( const std::string &  name)
inline

Set kinematic table name

void S2ReflKinLDB::setName ( const std::string &  name)
inline

Set kinematic table name

void S2ReflKinLDB::setOSType ( UDBSeis::OSType  os_type)
inline

Set os type.

Member Data Documentation

dbItem S2ReflKinLDB::m_db_item
protected

Data base item

dbItem S2ReflKinLDB::m_db_item_apr
protected

Apriority db table

bool S2ReflKinLDB::m_is_rewrite
protected

True if db table rewrites on save.

std::string S2ReflKinLDB::m_name
protected

Name of kinematic table.

std::string S2ReflKinLDB::m_name_apr
protected

Name of apriority table

UDBSeis::OSType S2ReflKinLDB::m_os_type
protected

Type of observation system.


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