The C++ version of an original model entry in the database. More...
#include <database_original_model.h>
Public Member Functions | |
DatabaseOriginalModel () | |
Constructs the fields, then calls initFields() followed by initPermissions() | |
DatabaseOriginalModel (const DatabaseOriginalModel *other) | |
Copy-constructs the fields based on the copied instance fields, then calls initFields() | |
void | initFields () |
Places all the fields in the fields_ vector and sets foreign keys and sequences. | |
void | initPermissions () |
Initializes permissions for the fields. | |
Public Attributes | |
database_interface::DBField < std::string > | acquisition_method_ |
database_interface::DBField < std::string > | barcode_ |
database_interface::DBField< bool > | concave_filled_ |
database_interface::DBField < std::string > | description_ |
database_interface::DBField< int > | id_ |
database_interface::DBField < std::string > | maker_ |
database_interface::DBField < std::string > | model_ |
database_interface::DBField < std::string > | recognition_id_ |
database_interface::DBField < std::string > | source_ |
database_interface::DBField < std::vector< std::string > > | tags_ |
The C++ version of an original model entry in the database.
Note that:
Definition at line 48 of file database_original_model.h.
Constructs the fields, then calls initFields() followed by initPermissions()
Note that:
Definition at line 122 of file database_original_model.h.
household_objects_database::DatabaseOriginalModel::DatabaseOriginalModel | ( | const DatabaseOriginalModel * | other | ) | [inline] |
Copy-constructs the fields based on the copied instance fields, then calls initFields()
The data itself in the fields, as well as the permissions, gets copied in the field copy construction.
Definition at line 144 of file database_original_model.h.
void household_objects_database::DatabaseOriginalModel::initFields | ( | ) | [inline] |
Places all the fields in the fields_ vector and sets foreign keys and sequences.
Note that:
Definition at line 74 of file database_original_model.h.
void household_objects_database::DatabaseOriginalModel::initPermissions | ( | ) | [inline] |
Initializes permissions for the fields.
Note that:
Definition at line 99 of file database_original_model.h.
database_interface::DBField<std::string> household_objects_database::DatabaseOriginalModel::acquisition_method_ |
Definition at line 62 of file database_original_model.h.
database_interface::DBField<std::string> household_objects_database::DatabaseOriginalModel::barcode_ |
Definition at line 61 of file database_original_model.h.
database_interface::DBField<bool> household_objects_database::DatabaseOriginalModel::concave_filled_ |
Definition at line 64 of file database_original_model.h.
database_interface::DBField<std::string> household_objects_database::DatabaseOriginalModel::description_ |
Definition at line 60 of file database_original_model.h.
Definition at line 54 of file database_original_model.h.
Definition at line 57 of file database_original_model.h.
Definition at line 56 of file database_original_model.h.
database_interface::DBField<std::string> household_objects_database::DatabaseOriginalModel::recognition_id_ |
Definition at line 63 of file database_original_model.h.
Definition at line 59 of file database_original_model.h.
database_interface::DBField< std::vector<std::string> > household_objects_database::DatabaseOriginalModel::tags_ |
Definition at line 58 of file database_original_model.h.