Revision 278, 444 bytes
(checked in by smidl, 16 years ago)
|
props
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | #include "../bdm/stat/libEF.h" |
---|
2 | using namespace bdm; |
---|
3 | |
---|
4 | int main() { |
---|
5 | RV a = RV ( "{a }","2" ); |
---|
6 | RV b = RV ( "{b }" ); |
---|
7 | RV c = RV ( "{c }" ); |
---|
8 | |
---|
9 | datalink_m2m dl ( a,concat(b,c),concat(a,b), c ); |
---|
10 | |
---|
11 | vec val ( "1 1.5 2" ); |
---|
12 | vec cond ( "3" ); |
---|
13 | |
---|
14 | cout << "val: " << val << endl; |
---|
15 | cout << "cond: " << cond << endl; |
---|
16 | |
---|
17 | cout << "lo val: " << dl.pushdown ( val ) <<endl; |
---|
18 | cout << "lo cond: " << dl.get_cond ( val,cond ) <<endl; |
---|
19 | |
---|
20 | //getchar(); |
---|
21 | return 0; |
---|
22 | |
---|
23 | } |
---|