Esempio n. 1
0
 bool Statement::ColumnBool(int col) const 
 {
   return !!ColumnInt(col);
 }
Esempio n. 2
0
int ConfDb::GetWindowHeight()
{
    FORMAT_SQL(SQL_QUERY_CONF_VALUE, KEY_WND_HEIGHT);
    Prepare();
    return (NextStep() == StepRow) ? ColumnInt(0) : 0;
}
Esempio n. 3
0
 int Query::SingleInt() {
     return Next() ? ColumnInt(0) : 0;
 }
Esempio n. 4
0
int ConfDb::GetWindowWidth()
{
    FORMAT_SQL(SQL_QUERY_CONF_VALUE, KEY_WND_WIDTH);
    Prepare();
    return (NextStep() == StepRow) ? ColumnInt(0) : 0;
}