Load a Model from the database and populate its fields. More...
Public Member Functions | |
LoadModelFunctor (const Table &table, const string &model_root) | |
bool | operator() (Model *model, const int row) |
Private Attributes | |
int | geometry_path_column_ |
int | grasping_rescale_column_ |
bool | initialized_ |
int | model_name_column_ |
const string & | model_root_ |
int | scale_column_ |
const Table & | table_ |
int | tags_column_ |
int | thumbnail_path_column_ |
Load a Model from the database and populate its fields.
Definition at line 80 of file sql_database_manager.cpp.
db_planner::LoadModelFunctor::LoadModelFunctor | ( | const Table & | table, | |
const string & | model_root | |||
) | [inline] |
Definition at line 88 of file sql_database_manager.cpp.
bool db_planner::LoadModelFunctor::operator() | ( | Model * | model, | |
const int | row | |||
) | [inline] |
Definition at line 98 of file sql_database_manager.cpp.
int db_planner::LoadModelFunctor::geometry_path_column_ [private] |
Definition at line 84 of file sql_database_manager.cpp.
int db_planner::LoadModelFunctor::grasping_rescale_column_ [private] |
Definition at line 84 of file sql_database_manager.cpp.
bool db_planner::LoadModelFunctor::initialized_ [private] |
Definition at line 86 of file sql_database_manager.cpp.
int db_planner::LoadModelFunctor::model_name_column_ [private] |
Definition at line 84 of file sql_database_manager.cpp.
const string& db_planner::LoadModelFunctor::model_root_ [private] |
Definition at line 83 of file sql_database_manager.cpp.
int db_planner::LoadModelFunctor::scale_column_ [private] |
Definition at line 84 of file sql_database_manager.cpp.
const Table& db_planner::LoadModelFunctor::table_ [private] |
Definition at line 82 of file sql_database_manager.cpp.
int db_planner::LoadModelFunctor::tags_column_ [private] |
Definition at line 84 of file sql_database_manager.cpp.
int db_planner::LoadModelFunctor::thumbnail_path_column_ [private] |
Definition at line 84 of file sql_database_manager.cpp.