NCBI C++ ToolKit
Classes | Macros | Typedefs | Functions
vdbread.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <corelib/ncbiobj.hpp>
#include <sra/readers/sra/exception.hpp>
#include <sra/readers/sra/sdk.hpp>
#include <vector>
+ Include dependency graph for vdbread.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CKDBManager
 
class  CKNSManager
 
class  CVFSManager
 
class  CVPath
 
class  CKConfig
 
class  CVResolver
 
class  CVDBMgr
 
class  CVDBMgr::CRequestContextUpdater
 
class  CVDB
 
class  CVDBTable
 
class  CVDBTableIndex
 
class  CVDBCursor
 
class  CVDBObjectCacheBase
 
class  CVDBObjectCache< Object >
 
class  CVDBColumn
 
class  CVDBColumnBits< ElementBitSize >
 
class  CVDBValue
 
struct  CVDBValue::SRef
 
struct  CVDBValue::SSaveRef
 
class  CVDBValueFor4Bits
 
class  CVDBValueFor2Bits
 
class  CVDBValueFor< V >
 
class  CVDBStringValue
 

Macros

#define DECLARE_VDB_COLUMN(name)
 
#define DECLARE_VDB_COLUMN_AS(type, name)
 
#define DECLARE_VDB_COLUMN_AS_STRING(name)
 
#define DECLARE_VDB_COLUMN_AS_4BITS(name)
 
#define INIT_VDB_COLUMN(name)    NCBI_NAME2(m_, name)(m_Cursor, #name)
 
#define INIT_VDB_COLUMN_BACKUP(name, backup_name)    NCBI_NAME2(m_, name)(m_Cursor, #name, #backup_name)
 
#define INIT_VDB_COLUMN_AS(name, type)    NCBI_NAME2(m_, name)(m_Cursor, "("#type")"#name)
 
#define INIT_OPTIONAL_VDB_COLUMN(name)    NCBI_NAME2(m_, name)(m_Cursor, #name, NULL, CVDBColumn::eMissing_Allow)
 
#define INIT_OPTIONAL_VDB_COLUMN_BACKUP(name, backup_name)    NCBI_NAME2(m_, name)(m_Cursor, #name, #backup_name, CVDBColumn::eMissing_Allow)
 
#define INIT_OPTIONAL_VDB_COLUMN_AS(name, type)    NCBI_NAME2(m_, name)(m_Cursor, "("#type")"#name, NULL, CVDBColumn::eMissing_Allow)
 
#define INIT_CONDITIONAL_VDB_COLUMN(name, condition)    NCBI_NAME2(m_, name)(m_Cursor, (condition)? #name: NULL, NULL, CVDBColumn::eMissing_Allow)
 
#define INIT_CONDITIONAL_VDB_COLUMN_AS(name, type, condition)    NCBI_NAME2(m_, name)(m_Cursor, (condition)? "("#type")"#name: NULL, NULL, CVDBColumn::eMissing_Allow)
 

Typedefs

typedef int64_t TVDBRowId
 
typedef uint64_t TVDBRowCount
 
typedef pair< TVDBRowId, TVDBRowCountTVDBRowIdRange
 
typedef uint32_t TVDBColumnIdx
 
typedef CVDBValueFor< uint16_tCVDBUInt16Value
 
typedef CVDBValueFor< char > CVDBBytesValue
 

Functions

 DECLARE_SRA_REF_TRAITS (VDBManager, const)
 
 DECLARE_SRA_REF_TRAITS (VDatabase, const)
 
 DECLARE_SRA_REF_TRAITS (VTable, const)
 
 DECLARE_SRA_REF_TRAITS (VCursor, const)
 
 DECLARE_SRA_REF_TRAITS (KIndex, const)
 
 DECLARE_SRA_REF_TRAITS (KConfig,)
 
 DECLARE_SRA_REF_TRAITS (KDBManager, const)
 
 DECLARE_SRA_REF_TRAITS (KNSManager,)
 
 DECLARE_SRA_REF_TRAITS (VFSManager,)
 
 DECLARE_SRA_REF_TRAITS (VPath, const)
 
 DECLARE_SRA_REF_TRAITS (VResolver,)
 

Macro Definition Documentation

◆ DECLARE_VDB_COLUMN

#define DECLARE_VDB_COLUMN (   name)
Value:
return CVDBValue::SRef(m_Cursor, row, NCBI_NAME2(m_,name), missing); \
} \
CVDBColumn NCBI_NAME2(m_, name)
@ eMissing_Throw
Definition: vdbread.hpp:632
#define NCBI_NAME2(Name1, Name2)
Name concatenation macro with two names.
Definition: ncbistl.hpp:122
#define row(bind, expected)
Definition: string_bind.c:73
int64_t TVDBRowId
Definition: vdbread.hpp:80

Definition at line 582 of file vdbread.hpp.

◆ DECLARE_VDB_COLUMN_AS

#define DECLARE_VDB_COLUMN_AS (   type,
  name 
)
Value:
return CVDBValueFor<type>(m_Cursor, row, NCBI_NAME2(m_,name), missing); \
} \
CVDBColumnBits<sizeof(type)*8> NCBI_NAME2(m_, name)
static int type
Definition: getdata.c:31

Definition at line 589 of file vdbread.hpp.

◆ DECLARE_VDB_COLUMN_AS_4BITS

#define DECLARE_VDB_COLUMN_AS_4BITS (   name)
Value:
return CVDBValueFor4Bits(m_Cursor, row, NCBI_NAME2(m_,name)); \
} \
CVDBColumnBits<4> NCBI_NAME2(m_, name)

Definition at line 603 of file vdbread.hpp.

◆ DECLARE_VDB_COLUMN_AS_STRING

#define DECLARE_VDB_COLUMN_AS_STRING (   name)
Value:
return CVDBStringValue(m_Cursor, row, NCBI_NAME2(m_,name), missing); \
} \
CVDBColumnBits<8> NCBI_NAME2(m_, name)

Definition at line 596 of file vdbread.hpp.

◆ INIT_CONDITIONAL_VDB_COLUMN

#define INIT_CONDITIONAL_VDB_COLUMN (   name,
  condition 
)     NCBI_NAME2(m_, name)(m_Cursor, (condition)? #name: NULL, NULL, CVDBColumn::eMissing_Allow)

Definition at line 622 of file vdbread.hpp.

◆ INIT_CONDITIONAL_VDB_COLUMN_AS

#define INIT_CONDITIONAL_VDB_COLUMN_AS (   name,
  type,
  condition 
)     NCBI_NAME2(m_, name)(m_Cursor, (condition)? "("#type")"#name: NULL, NULL, CVDBColumn::eMissing_Allow)

Definition at line 624 of file vdbread.hpp.

◆ INIT_OPTIONAL_VDB_COLUMN

#define INIT_OPTIONAL_VDB_COLUMN (   name)     NCBI_NAME2(m_, name)(m_Cursor, #name, NULL, CVDBColumn::eMissing_Allow)

Definition at line 616 of file vdbread.hpp.

◆ INIT_OPTIONAL_VDB_COLUMN_AS

#define INIT_OPTIONAL_VDB_COLUMN_AS (   name,
  type 
)     NCBI_NAME2(m_, name)(m_Cursor, "("#type")"#name, NULL, CVDBColumn::eMissing_Allow)

Definition at line 620 of file vdbread.hpp.

◆ INIT_OPTIONAL_VDB_COLUMN_BACKUP

#define INIT_OPTIONAL_VDB_COLUMN_BACKUP (   name,
  backup_name 
)     NCBI_NAME2(m_, name)(m_Cursor, #name, #backup_name, CVDBColumn::eMissing_Allow)

Definition at line 618 of file vdbread.hpp.

◆ INIT_VDB_COLUMN

#define INIT_VDB_COLUMN (   name)     NCBI_NAME2(m_, name)(m_Cursor, #name)

Definition at line 610 of file vdbread.hpp.

◆ INIT_VDB_COLUMN_AS

#define INIT_VDB_COLUMN_AS (   name,
  type 
)     NCBI_NAME2(m_, name)(m_Cursor, "("#type")"#name)

Definition at line 614 of file vdbread.hpp.

◆ INIT_VDB_COLUMN_BACKUP

#define INIT_VDB_COLUMN_BACKUP (   name,
  backup_name 
)     NCBI_NAME2(m_, name)(m_Cursor, #name, #backup_name)

Definition at line 612 of file vdbread.hpp.

Typedef Documentation

◆ CVDBBytesValue

Definition at line 1077 of file vdbread.hpp.

◆ CVDBUInt16Value

Definition at line 1076 of file vdbread.hpp.

◆ TVDBColumnIdx

Definition at line 85 of file vdbread.hpp.

◆ TVDBRowCount

Definition at line 83 of file vdbread.hpp.

◆ TVDBRowId

typedef int64_t TVDBRowId

Definition at line 82 of file vdbread.hpp.

◆ TVDBRowIdRange

Definition at line 84 of file vdbread.hpp.

Function Documentation

◆ DECLARE_SRA_REF_TRAITS() [1/11]

DECLARE_SRA_REF_TRAITS ( KConfig  )

◆ DECLARE_SRA_REF_TRAITS() [2/11]

DECLARE_SRA_REF_TRAITS ( KDBManager  ,
const   
)

◆ DECLARE_SRA_REF_TRAITS() [3/11]

DECLARE_SRA_REF_TRAITS ( KIndex  ,
const   
)

◆ DECLARE_SRA_REF_TRAITS() [4/11]

DECLARE_SRA_REF_TRAITS ( KNSManager  )

◆ DECLARE_SRA_REF_TRAITS() [5/11]

DECLARE_SRA_REF_TRAITS ( VCursor  ,
const   
)

◆ DECLARE_SRA_REF_TRAITS() [6/11]

DECLARE_SRA_REF_TRAITS ( VDatabase  ,
const   
)

◆ DECLARE_SRA_REF_TRAITS() [7/11]

DECLARE_SRA_REF_TRAITS ( VDBManager  ,
const   
)

◆ DECLARE_SRA_REF_TRAITS() [8/11]

DECLARE_SRA_REF_TRAITS ( VFSManager  )

◆ DECLARE_SRA_REF_TRAITS() [9/11]

DECLARE_SRA_REF_TRAITS ( VPath  ,
const   
)

◆ DECLARE_SRA_REF_TRAITS() [10/11]

DECLARE_SRA_REF_TRAITS ( VResolver  )

◆ DECLARE_SRA_REF_TRAITS() [11/11]

DECLARE_SRA_REF_TRAITS ( VTable  ,
const   
)
Modified on Fri Sep 20 14:58:19 2024 by modify_doxy.py rev. 669887