Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
xyz.serialization.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file numeric/xyz.serialization.hh
11 /// @brief functions for serializing xyzVector and xyzMatrix
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 
15 #ifndef INCLUDED_numeric_xyz_serialization_HH
16 #define INCLUDED_numeric_xyz_serialization_HH
17 
18 #ifdef SERIALIZATION
19 
20 // Package headers
21 #include <numeric/xyzVector.hh>
22 #include <numeric/xyzMatrix.hh>
23 
24 // This file declares save/load functions (at global scope) for serializing and
25 // deserializing numerix::xyzVector and numeric::xyzMatrix objects.
26 
27 namespace numeric {
28 
29 template < class Archive >
30 void
31 save(
32  Archive & arch,
34 );
35 
36 template < class Archive >
37 void
38 save(
39  Archive & arch,
41 );
42 
43 template < class Archive >
44 void
45 load(
46  Archive & arch,
48 );
49 
50 template < class Archive >
51 void
52 load(
53  Archive & arch,
55 );
56 
57 template < class Archive >
58 void
59 save(
60  Archive & arch,
62 );
63 
64 template < class Archive >
65 void
66 save(
67  Archive & arch,
69 );
70 
71 template < class Archive >
72 void
73 load(
74  Archive & arch,
76 );
77 
78 template < class Archive >
79 void
80 load(
81  Archive & arch,
83 );
84 
85 }
86 
87 #endif // SERIALIZATION
88 
89 #endif // INCLUDED_numeric_xyz_serialization_HH
Fast 3x3 matrix.
xyzVector< Real > xyz(Real const &r1, Real const &omega1, Real const &t, Real const &dz1, Real const &delta_omega1, Real const &delta_z1)
Returns the x-, y-, and z-coordinates of a point on a helix given r1, omega1, and t...
Definition: HelixParams.cc:67
xyzMatrix: Fast 3x3 xyz matrix template
Fast (x,y,z)-coordinate numeric vector.
def load
Definition: IO.py:5