daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Jun 22nd, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int gtr::StockBitmaps::save(sqlite3x::sqlite3_connection& con, int id)
  2. {
  3.     sqlite3x::sqlite3_transaction trans(con);
  4.  
  5. //
  6. // código.....
  7. //
  8.  
  9.     std::for_each(
  10.         m_data.begin(),
  11.         m_data.end(),
  12.         boost::bind(&gtr::StockBitmaps::storeBitmap, this, con, id, update, _1)
  13.     );
  14.     trans.commit();
  15.     return id;
  16. }
  17.  
  18. void gtr::StockBitmaps::storeBitmap(sqlite3x::sqlite3_connection& con, int stockBitmapId,
  19.     bool update, const gtr::StockBitmaps::BitmapContainerElement& element)
  20. {
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top