UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Typedefs | Enumerations | Functions
hds::db Namespace Reference

Classes

class  Factory
 
struct  LockDescription
 
class  Locker
 
class  Object
 
class  Project
 
class  Seismic
 
class  TrHeader
 
class  TrHeaderContext
 
class  TrSelBaseRule
 
class  TrSelSortRule
 
class  TrSelMatchRule
 
class  TrSelRangeRule
 
class  TrSelector
 
struct  VolumeHeader
 
class  ContextQSql
 
class  FactoryQSql
 
class  LockerQSql
 
class  ProjectQSql
 
class  QSqlImpl
 
class  SeismicQSql
 
class  TrBodiesCacheQSql
 
class  TrHdrsCacheQSql
 
class  HdbTreeWid
 
class  ZdSeismic
 

Typedefs

typedef float AmplT
 
typedef float TimeT
 
typedef std::vector< AmplTTrBody
 
typedef uint64_t DbIndex
 
typedef std::vector< DbIndexDbIndexes
 
typedef std::vector
< LockDescription
LockDescriptionVec
 

Enumerations

enum  OpenMode {
  OM_READ = 0, OM_EDIT, OM_CREATE, OM_TMP,
  OM_NOT_OPENED
}
 
enum  ErrCode {
  EC_NO_ERROR = 0, EC_TRANSACTION, EC_LOCKED_READ, EC_LOCKED_WRITE,
  EC_UNDEFINED
}
 
enum  LockType { LT_READ = 0, LT_WRITE }
 
enum  TrHeaderAttrId { __HDR_ATTR, __HDR_ATTR }
 
enum  TrHeaderAttrType {
  TAT_CHAR, TAT_INT, TAT_FLOAT, TAT_DOUBLE,
  TAT_UNDEFINED
}
 
enum  TrSelSortOp { TS_ASC_ORDER = 0, TS_DESC_ORDER = 1, TS_UNIQ = 2 }
 
enum  TrSelMatchOp { TS_EQ = 3, TS_NEQ = 4, TS_GT = 5, TS_LT = 6 }
 
enum  TrSelRangeOp { TS_RANGE = 7 }
 

Functions

std::string toString (OpenMode mode)
 
std::string toString (ErrCode ec)
 
std::string toString (TrHeaderAttrType type)
 
std::string toString (TrSelSortOp op)
 
std::string toString (TrSelMatchOp op)
 
std::string toString (TrSelRangeOp op)
 

Detailed Description

Data base area.

Data base area

Typedef Documentation

typedef float hds::db::AmplT

Type of seismic trace amplitude.

typedef uint64_t hds::db::DbIndex

Database internal uniq index.

typedef std::vector<DbIndex> hds::db::DbIndexes

Vector of database indexies.

Vector of locks descriptions.

typedef float hds::db::TimeT

Type of time value.

typedef std::vector<AmplT> hds::db::TrBody

Type of trace body.

Enumeration Type Documentation

Error codes.

Enumerator
EC_NO_ERROR 

No error occurred.

EC_TRANSACTION 

Error in database transaction.

EC_LOCKED_READ 

Shared violation due to read lock.

EC_LOCKED_WRITE 

Shared violation due to write lock.

EC_UNDEFINED 

Undefined error.

Type of lock.

Enumerator
LT_READ 

Read only lock. Accepts all other read locks, denies write locks.

LT_WRITE 

Read and write lock. Denies all other locks.

Mode of data base object opening.

Enumerator
OM_READ 

Read only.

OM_EDIT 

Read and write.

OM_CREATE 

Create new one for reading and writing.

OM_TMP 

Create new temporary one for reading and writing. To be deleted automatically.

OM_NOT_OPENED 

Not opened mode.

Attribute id of the trace header.

Types of trace header attributes.

Enumerator
TAT_CHAR 

char

TAT_INT 

int

TAT_FLOAT 

float

TAT_DOUBLE 

double

TAT_UNDEFINED 

Undefined type

Matching operations for traces selection.

Enumerator
TS_EQ 

Equality.

TS_NEQ 

Nonequality.

TS_GT 

Greater than.

TS_LT 

Less than.

Range operation for traces selection.

Enumerator
TS_RANGE 

Range [val1, val2]

Sorting operations for traces selection.

Enumerator
TS_ASC_ORDER 

Ascend order.

TS_DESC_ORDER 

Descend order.

TS_UNIQ 

Unique values selection.

Function Documentation

std::string hds::db::toString ( TrSelSortOp  op)

Generate string from provided sorting operation.

std::string hds::db::toString ( TrHeaderAttrType  type)

Generate string with name of the provided type of header attribute.

std::string hds::db::toString ( TrSelMatchOp  op)

Generate string from provided matching operation.

std::string hds::db::toString ( OpenMode  mode)

Generate string with name of the provided mode.

std::string hds::db::toString ( TrSelRangeOp  op)

Generate string from provided range operation.

std::string hds::db::toString ( ErrCode  ec)

Generate string with name of the provided error code.