rowid.h 658 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // Copyright (C) 2004-2008 Maciej Sobczak, Stephen Hutton
  3. // Distributed under the Boost Software License, Version 1.0.
  4. // (See accompanying file LICENSE_1_0.txt or copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. #ifndef SOCI_ROWID_H_INCLUDED
  8. #define SOCI_ROWID_H_INCLUDED
  9. #include "soci/soci-platform.h"
  10. namespace soci
  11. {
  12. class session;
  13. namespace details
  14. {
  15. class rowid_backend;
  16. } // namespace details
  17. // ROWID support
  18. class SOCI_DECL rowid
  19. {
  20. public:
  21. explicit rowid(session & s);
  22. ~rowid();
  23. details::rowid_backend * get_backend() { return backEnd_; }
  24. private:
  25. details::rowid_backend *backEnd_;
  26. };
  27. } // namespace soci
  28. #endif