aboutsummaryrefslogtreecommitdiff
path: root/common/query/one/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/query/one/test.hxx')
-rw-r--r--common/query/one/test.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/common/query/one/test.hxx b/common/query/one/test.hxx
new file mode 100644
index 0000000..1a9c35e
--- /dev/null
+++ b/common/query/one/test.hxx
@@ -0,0 +1,27 @@
+// file : common/query/one/test.hxx
+// copyright : Copyright (c) 2009-2014 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef TEST_HXX
+#define TEST_HXX
+
+#include <string>
+
+#pragma db object
+struct object
+{
+ object (unsigned long id)
+ : id_ (id)
+ {
+ }
+
+ object ()
+ {
+ }
+
+ #pragma db id
+ unsigned long id_;
+ std::string str_;
+};
+
+#endif // TEST_HXX