OpenStructure
Data Structures | Typedefs | Functions
ost::db Namespace Reference

Data Structures

class  LinearCharacterContainer
 
class  LinearPositionContainer
 
struct  AssemblyInfo
 
class  LinearIndexer
 
class  PreparedStatement
 
class  DatabaseError
 
class  RowSet
 
class  Database
 

Typedefs

typedef boost::shared_ptr< LinearCharacterContainerLinearCharacterContainerPtr
 
typedef boost::shared_ptr< LinearPositionContainerLinearPositionContainerPtr
 
typedef boost::shared_ptr< LinearIndexerLinearIndexerPtr
 
typedef boost::shared_ptr< DatabaseDatabasePtr
 
typedef boost::shared_ptr< PreparedStatementPreparedStatementPtr
 

Functions

void ExtractValidPositions (const String &entry_name, const String &chain_name, LinearIndexer &indexer, LinearCharacterContainer &atom_seqcontainer, LinearPositionContainer &position_container, ost::seq::SequenceHandle &seq, geom::Vec3List &positions)
 
void ExtractTemplateData (const String &entry_name, const String &chain_name, const ost::seq::AlignmentHandle &aln, LinearIndexer &indexer, LinearCharacterContainer &seqres_container, LinearCharacterContainer &atomseq_container, LinearPositionContainer &position_container, std::vector< int > &residue_numbers, geom::Vec3List &ca_positions)
 
void SqlConvert (sqlite3_stmt *stmt, int &value, int col=0)
 
void SqlConvert (sqlite3_stmt *stmt, String &value, int col=0)
 
void SqlConvert (sqlite3_stmt *stmt, sqlite3_int64 &value, int col=0)
 
template<typename T >
void SqlConvert (sqlite3_stmt *stmt, T &value)
 

Typedef Documentation

◆ DatabasePtr

typedef boost::shared_ptr<Database> DatabasePtr

Definition at line 39 of file sqlite_wrap.hh.

◆ LinearCharacterContainerPtr

Definition at line 37 of file binary_container.hh.

◆ LinearIndexerPtr

typedef boost::shared_ptr<LinearIndexer> LinearIndexerPtr

Definition at line 35 of file linear_indexer.hh.

◆ LinearPositionContainerPtr

Definition at line 38 of file binary_container.hh.

◆ PreparedStatementPtr

typedef boost::shared_ptr<PreparedStatement> PreparedStatementPtr

Definition at line 42 of file sqlite_wrap.hh.

Function Documentation

◆ ExtractTemplateData()

void ost::db::ExtractTemplateData ( const String entry_name,
const String chain_name,
const ost::seq::AlignmentHandle aln,
LinearIndexer indexer,
LinearCharacterContainer seqres_container,
LinearCharacterContainer atomseq_container,
LinearPositionContainer position_container,
std::vector< int > &  residue_numbers,
geom::Vec3List ca_positions 
)

◆ ExtractValidPositions()

void ost::db::ExtractValidPositions ( const String entry_name,
const String chain_name,
LinearIndexer indexer,
LinearCharacterContainer atom_seqcontainer,
LinearPositionContainer position_container,
ost::seq::SequenceHandle seq,
geom::Vec3List positions 
)

◆ SqlConvert() [1/4]

void ost::db::SqlConvert ( sqlite3_stmt *  stmt,
int &  value,
int  col = 0 
)
inline

Definition at line 28 of file sqlite_conv.hh.

◆ SqlConvert() [2/4]

void ost::db::SqlConvert ( sqlite3_stmt *  stmt,
sqlite3_int64 &  value,
int  col = 0 
)
inline

Definition at line 38 of file sqlite_conv.hh.

◆ SqlConvert() [3/4]

void ost::db::SqlConvert ( sqlite3_stmt *  stmt,
String value,
int  col = 0 
)
inline

Definition at line 33 of file sqlite_conv.hh.

◆ SqlConvert() [4/4]

void ost::db::SqlConvert ( sqlite3_stmt *  stmt,
T &  value 
)

Definition at line 44 of file sqlite_conv.hh.