HFSQtLi 0.0.1
A Qt/C++ wrapper for SQLite3.
Classes | Typedefs | Enumerations | Variables
HFSQtLi Namespace Reference

Global namespace for library. More...

Classes

class  Blob
 Provides direct read/write access to a blob. More...
 
struct  Call
 Template struct used to pass a callback that will be called upon fetching values. More...
 
class  CustomBind
 Accessor passed to custom data type bind An instance of this class will be passed as first parameter to customBind and customBindConst functions (See Custom data types). More...
 
class  CustomFetch
 Accessor passed to custom data type fetch An instance of this class will be passed as first parameter to customFetch functions (See Custom data types). More...
 
class  Db
 Class that gives access to a SQLite connection (struct sqlite3). More...
 
class  Null
 Class to bind a NULL pointer (See Bounded data types). More...
 
class  Query
 Class that gives access to SQLite prepared statements (struct sqlite3_stmt) More...
 
class  Value
 Maps a sqlite3_value type. More...
 
class  ZeroBlob
 Placeholder for a zero intialized blob of a given size (See Bounded data types). More...
 

Typedefs

template<unsigned U = 1>
using UnusedN = Helper::UnusedColumns< U >
 Class to skip fetching a certain number of columns. More...
 

Enumerations

enum class  Type : int {
  Invalid , Null , Integer , Float ,
  Text , Blob
}
 Native types handled by SQLite.
 

Variables

INTERNAL typedef Helper::UnusedColumns< 1 > Unused
 Class to skip fetching a column. Example usage: More...
 

Detailed Description

Global namespace for library.

Typedef Documentation

◆ UnusedN

template<unsigned U = 1>
using HFSQtLi::UnusedN = typedef Helper::UnusedColumns<U>

Class to skip fetching a certain number of columns.

Example usage:

int x;
qry.column(UnusedN<2>(), x);
Helper::UnusedColumns< U > UnusedN
Class to skip fetching a certain number of columns.
Definition: HFSQtLi.h:441

Variable Documentation

◆ Unused

INTERNAL typedef Helper::UnusedColumns<1> HFSQtLi::Unused

Class to skip fetching a column. Example usage:

int x;
qry.column(Unused(), x);
INTERNAL typedef Helper::UnusedColumns< 1 > Unused
Class to skip fetching a column. Example usage:
Definition: HFSQtLi.h:432