Advertisement
bayerb

result-mapping.hpp

Mar 20th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #ifndef RESULT_MAPPING_HPP
  2. #define RESULT_MAPPING_HPP
  3.  
  4. #include <odb/core.hxx>
  5.  
  6. #include "result.hpp"
  7.  
  8. #include <array>
  9.  
  10. typedef result::Result<float, 7> ResultFloatSeven;
  11.  
  12. #pragma db value(ResultFloatSeven) definition
  13. // #pragma db member(ResultFloatSeven::Id) virtual(int)
  14. // #pragma db member(ResultFloatSeven::Values) virtual(float)
  15.  
  16.  
  17. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement