KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
m_serialization.h
Go to the documentation of this file.
1 /* $Id: m_serialization.h 18278 2014-11-25 01:42:10Z ksimek $ */
2 /* {{{=========================================================================== *
3  |
4  | Copyright (c) 1994-2014 by Kobus Barnard (author)
5  |
6  | Personal and educational use of this code is granted, provided that this
7  | header is kept intact, and that the authorship is not misrepresented, that
8  | its use is acknowledged in publications, and relevant papers are cited.
9  |
10  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
11  |
12  | Please note that the code in this file has not necessarily been adequately
13  | tested. Naturally, there is no guarantee of performance, support, or fitness
14  | for any particular task. Nonetheless, I am interested in hearing about
15  | problems that you encounter.
16  |
17  | Author: Kyle Simek
18  * =========================================================================== }}}*/
19 
20 // vim: tabstop=4 shiftwidth=4 foldmethod=marker
21 
22 #ifndef KJB_M_CPP_M_SERLIALIZE_H
23 #define KJB_M_CPP_M_SERLIALIZE_H
24 
25 
26 namespace boost {
27 namespace archive {
28  class text_iarchive;
29  class text_oarchive;
30 } // namespace archive
31 } // namespace boost
32 
33 namespace kjb
34 {
35 
36 class Matrix;
37 class Vector;
38 //class Int_matrix;
39 //class Int_vector;
40 
41 void kjb_serialize(boost::archive::text_iarchive& ar, Matrix& obj, const unsigned int /* version */);
42 void kjb_serialize(boost::archive::text_oarchive& ar, Matrix& obj, const unsigned int /* version */);
43 //
44 //void kjb_serialize(boost::archive::text_iarchive& ar, Int_matrix& obj, const unsigned int /* version */);
45 //void kjb_serialize(boost::archive::text_oarchive& ar, Int_matrix& obj, const unsigned int /* version */);
46 //
47 void kjb_serialize(boost::archive::text_iarchive& ar, Vector& obj, const unsigned int /* version */);
48 void kjb_serialize(boost::archive::text_oarchive& ar, Vector& obj, const unsigned int /* version */);
49 //
50 //void kjb_serialize(boost::archive::text_iarchive& ar, Int_vector& obj, const unsigned int /* version */);
51 //void kjb_serialize(boost::archive::text_oarchive& ar, Int_vector& obj, const unsigned int /* version */);
52 
53 }
54 
55 #endif
void kjb_serialize(Archive &ar, KJB_readable_writable &obj, const unsigned int version)
Definition: l_serialization.h:170