maptest.cc

Go to the documentation of this file.
00001 #include <IDMap_AMOS.hh>
00002 #include <Message_AMOS.hh>
00003 #include <iostream>
00004 #include <cstdlib>
00005 using namespace std;
00006 using namespace AMOS;
00007 
00008 int main ( )
00009 {
00010   try {
00011 
00012     IDMap_t idmap1, idmap2;
00013     Message_t msg;
00014 
00015     msg . read (cin);
00016     idmap1 . readMessage (msg);
00017 
00018     idmap2 = idmap1;
00019 
00020     idmap2 . writeMessage (msg);
00021     msg . write (cout);
00022   }
00023   catch (Exception_t & e) {
00024     cerr << e;
00025   }
00026 
00027   return 0;
00028 }

Generated on Mon Feb 22 17:36:27 2010 for libAMOS by  doxygen 1.4.7