#include <db_manager.h>
Public Types | |
enum | FilterType { NONE, HAS_HUMAN_GRASPS, HAS_HUMAN_REFINED_GRASPS, OLD_STYLE_IV } |
The list of available filters. More... | |
Static Public Member Functions | |
static string | GetWhereClause (FilterType filter) |
Maps a FilterType enum to a SQL "WHERE" clause. |
FilterList maps an enum of named filters for filtering a list of Models to a SQL "WHERE" clause that can be tacked onto a query.
Definition at line 50 of file db_manager.h.
The list of available filters.
Definition at line 53 of file db_manager.h.
static string db_planner::FilterList::GetWhereClause | ( | FilterType | filter | ) | [inline, static] |
Maps a FilterType enum to a SQL "WHERE" clause.
Definition at line 55 of file db_manager.h.