SerializedMap<T,A>::SerializedMap(const ::boost::filesystem::path & dbFileName, const std::string & tableName) : _tableName(tableName), _iStmt(NULL), _sStmt(NULL) { _db.reset(new Database(dbFileName)); setUpTable(); }
SerializedMap<T,A>::SerializedMap(boost::shared_ptr<Database> db, const std::string & tableName) : _tableName(tableName), _db(db), _iStmt(NULL), _sStmt(NULL) { SM_ASSERT_TRUE(UnableToOpenDatabaseException, _db.get() != NULL, "The database is null"); setUpTable(); }
SpellCheckWidget::SpellCheckWidget() : m_isDirty(false) { ui.setupUi(this); setUpTable(); readSettings(); connectSignalsToSlots(); }