예제 #1
0
 bool Statement::ColumnBool(int col) const 
 {
   return !!ColumnInt(col);
 }
예제 #2
0
파일: ConfDb.cpp 프로젝트: bsdelf/cashio
int ConfDb::GetWindowHeight()
{
    FORMAT_SQL(SQL_QUERY_CONF_VALUE, KEY_WND_HEIGHT);
    Prepare();
    return (NextStep() == StepRow) ? ColumnInt(0) : 0;
}
예제 #3
0
 int Query::SingleInt() {
     return Next() ? ColumnInt(0) : 0;
 }
예제 #4
0
파일: ConfDb.cpp 프로젝트: bsdelf/cashio
int ConfDb::GetWindowWidth()
{
    FORMAT_SQL(SQL_QUERY_CONF_VALUE, KEY_WND_WIDTH);
    Prepare();
    return (NextStep() == StepRow) ? ColumnInt(0) : 0;
}