blob: a58650392cd8a588186e53c1486a4bc09bbe3a9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef SLICER_TEST_DB
#define SLICER_TEST_DB
#include <classes.ice>
module TestDatabase {
[ "slicer:conversion:boost.posix_time.time_duration:timedurationToTimespan:timespanToTimeduration" ]
class Timespan {
int days;
short hours;
short minutes;
short seconds;
};
class SpecificTypes extends TestModule::DateTimeContainer {
Timespan ts;
};
class BuiltIns {
optional(1) bool mbool;
optional(2) byte mbyte;
optional(3) short mshort;
["slicer:db:pkey",
"slicer:db:auto"]
int mint;
["slicer:db:pkey"]
long mlong;
optional(4) float mfloat;
optional(5) double mdouble;
optional(6) string mstring;
};
sequence<BuiltIns> BuiltInSeq;
};
#endif
|