NCBI C++ ToolKit
Public Types | Public Member Functions | Private Member Functions | List of all members
CVDBValueFor< V > Class Template Reference

Search Toolkit Book for CVDBValueFor

#include <sra/readers/sra/vdbread.hpp>

+ Inheritance diagram for CVDBValueFor< V >:
+ Collaboration diagram for CVDBValueFor< V >:

Public Types

typedef V TValue
 
typedef const TValueconst_iterator
 
- Public Types inherited from CVDBValue
enum  EMissing { eMissing_Throw , eMissing_Allow }
 

Public Member Functions

 CVDBValueFor (void)
 
 CVDBValueFor (const CVDBCursor &cursor, const CVDBColumn &column)
 
 CVDBValueFor (const CVDBCursor &cursor, TVDBRowId row, const CVDBColumn &column, EMissing missing=eMissing_Throw)
 
 CVDBValueFor (const CVDBValue::SRef &ref)
 
 CVDBValueFor (CVDBCursor &cursor, const char *param_name, const CTempString &param_value, const CVDBColumn &column)
 
const TValuedata () const
 
const TValueoperator[] (size_t i) const
 
const TValueValue (void) const
 
const TValueoperator* (void) const
 
const TValueoperator-> (void) const
 
 operator const TValue & (void) const
 
const_iterator begin () const
 
const_iterator end () const
 
CVDBValueFor< TValuesubstr (size_t pos, size_t len) const
 
- Public Member Functions inherited from CVDBValue
 CVDBValue (void)
 
 CVDBValue (const CVDBCursor &cursor, const CVDBColumn &column)
 
 CVDBValue (const CVDBCursor &cursor, TVDBRowId row, const CVDBColumn &column, EMissing missing=eMissing_Throw)
 
 CVDBValue (const SRef &ref)
 
 CVDBValue (const CVDBCursor &cursor, const char *param_name, const CTempString &param_value, const CVDBColumn &column)
 
bool empty (void) const
 
size_t size (void) const
 
CNcbiOstreamPrintFullName (CNcbiOstream &out) const
 

Private Member Functions

 operator double (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from CVDBValue
void x_Get (const CVDBCursor &cursor, const CVDBColumn &column)
 
void x_Get (const CVDBCursor &cursor, TVDBRowId row, const CVDBColumn &column, EMissing missing=eMissing_Throw)
 
void x_ReportIndexOutOfBounds (size_t index) const
 
void x_ReportNotOneValue (void) const
 
void x_CheckIndex (size_t index) const
 
void x_CheckRange (size_t pos, size_t len) const
 
void x_CheckOneValue (void) const
 
- Protected Attributes inherited from CVDBValue
SSaveRef m_Ref
 
const void * m_Data
 
uint32_t m_ElemCount
 

Detailed Description

template<class V>
class CVDBValueFor< V >

Definition at line 925 of file vdbread.hpp.

Member Typedef Documentation

◆ const_iterator

template<class V >
typedef const TValue* CVDBValueFor< V >::const_iterator

Definition at line 980 of file vdbread.hpp.

◆ TValue

template<class V >
typedef V CVDBValueFor< V >::TValue

Definition at line 928 of file vdbread.hpp.

Constructor & Destructor Documentation

◆ CVDBValueFor() [1/5]

template<class V >
CVDBValueFor< V >::CVDBValueFor ( void  )
inline

Definition at line 929 of file vdbread.hpp.

◆ CVDBValueFor() [2/5]

template<class V >
CVDBValueFor< V >::CVDBValueFor ( const CVDBCursor cursor,
const CVDBColumn column 
)
inline

Definition at line 932 of file vdbread.hpp.

◆ CVDBValueFor() [3/5]

template<class V >
CVDBValueFor< V >::CVDBValueFor ( const CVDBCursor cursor,
TVDBRowId  row,
const CVDBColumn column,
EMissing  missing = eMissing_Throw 
)
inline

Definition at line 936 of file vdbread.hpp.

◆ CVDBValueFor() [4/5]

template<class V >
CVDBValueFor< V >::CVDBValueFor ( const CVDBValue::SRef ref)
inlineexplicit

Definition at line 941 of file vdbread.hpp.

◆ CVDBValueFor() [5/5]

template<class V >
CVDBValueFor< V >::CVDBValueFor ( CVDBCursor cursor,
const char *  param_name,
const CTempString param_value,
const CVDBColumn column 
)
inline

Definition at line 945 of file vdbread.hpp.

Member Function Documentation

◆ begin()

template<class V >
const_iterator CVDBValueFor< V >::begin ( void  ) const
inline

Definition at line 981 of file vdbread.hpp.

Referenced by CVDBValueFor< char >::end(), and sx_Assign().

◆ data()

template<class V >
const TValue* CVDBValueFor< V >::data ( void  ) const
inline

◆ end()

template<class V >
const_iterator CVDBValueFor< V >::end ( void  ) const
inline

Definition at line 985 of file vdbread.hpp.

◆ operator const TValue &()

template<class V >
CVDBValueFor< V >::operator const TValue & ( void  ) const
inline

Definition at line 975 of file vdbread.hpp.

◆ operator double()

template<class V >
CVDBValueFor< V >::operator double ( void  ) const
private

◆ operator*()

template<class V >
const TValue& CVDBValueFor< V >::operator* ( void  ) const
inline

Definition at line 966 of file vdbread.hpp.

◆ operator->()

template<class V >
const TValue* CVDBValueFor< V >::operator-> ( void  ) const
inline

Definition at line 970 of file vdbread.hpp.

◆ operator[]()

template<class V >
const TValue& CVDBValueFor< V >::operator[] ( size_t  i) const
inline

Definition at line 956 of file vdbread.hpp.

◆ substr()

template<class V >
CVDBValueFor<TValue> CVDBValueFor< V >::substr ( size_t  pos,
size_t  len 
) const
inline

Definition at line 990 of file vdbread.hpp.

◆ Value()

template<class V >
const TValue& CVDBValueFor< V >::Value ( void  ) const
inline

The documentation for this class was generated from the following file:
Modified on Sat Dec 09 04:43:53 2023 by modify_doxy.py rev. 669887