generate serialize/deserialize methods for C++ Classes to/from SQLite