NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
SLDS2_File Struct Reference

Search Toolkit Book for SLDS2_File

LDS2 database. More...

#include <objtools/lds2/lds2_db.hpp>

Public Types

typedef CFormatGuess::EFormat TFormat
 

Public Member Functions

 SLDS2_File (void)
 
 SLDS2_File (const string &file_name)
 
void Reset (void)
 
bool operator== (const SLDS2_File &f) const
 
bool operator!= (const SLDS2_File &f) const
 
bool exists (void) const
 

Public Attributes

Int8 id
 
string name
 
TFormat format
 
string handler
 
Int8 size
 
Int8 time
 
Uint4 crc
 

Detailed Description

LDS2 database.

File info structure

Definition at line 56 of file lds2_db.hpp.

Member Typedef Documentation

Definition at line 58 of file lds2_db.hpp.

Constructor & Destructor Documentation

SLDS2_File::SLDS2_File ( void  )
inline

Definition at line 68 of file lds2_db.hpp.

References CSQLITE_Statement::Reset().

SLDS2_File::SLDS2_File ( const string file_name)
inline

Definition at line 70 of file lds2_db.hpp.

References file_name, and CSQLITE_Statement::Reset().

Member Function Documentation

bool SLDS2_File::exists ( void  ) const
inline

Definition at line 99 of file lds2_db.hpp.

Referenced by CLDS2_Manager::UpdateData().

bool SLDS2_File::operator!= ( const SLDS2_File f) const
inline

Definition at line 95 of file lds2_db.hpp.

References f().

bool SLDS2_File::operator== ( const SLDS2_File f) const
inline

Definition at line 85 of file lds2_db.hpp.

References crc, format, handler, id, name, size, and time.

void SLDS2_File::Reset ( void  )
inline

Definition at line 75 of file lds2_db.hpp.

References CFormatGuess::eUnknown, and kEmptyStr.

Member Data Documentation

Uint4 SLDS2_File::crc

Definition at line 66 of file lds2_db.hpp.

Referenced by CLDS2_Database::AddFile(), CLDS2_Database::GetFileInfo(), and operator==().

TFormat SLDS2_File::format
string SLDS2_File::handler
Int8 SLDS2_File::id
string SLDS2_File::name
Int8 SLDS2_File::size

Definition at line 64 of file lds2_db.hpp.

Referenced by CLDS2_Database::AddFile(), CLDS2_Database::GetFileInfo(), and operator==().

Int8 SLDS2_File::time

Definition at line 65 of file lds2_db.hpp.

Referenced by CLDS2_Database::AddFile(), CLDS2_Database::GetFileInfo(), and operator==().


The documentation for this struct was generated from the following file:
Modified on Tue Jan 16 15:41:51 2018 by modify_doxy.py rev. 546573