Debian Codegraph @

dwtools/CCA_def.h

raw
1 /* CCA_def.h
2 *
3 * Copyright (C) 1993-2018 David Weenink
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 /*
20 djmw 2001
21 djmw 20020423 GPL header
22 djmw 20031214 Added x/yLabels
23 djmw 20060529 Added object version numbers.
24 djmw 20080122 float -> double
25 */
26
27
28 #define ooSTRUCT CCA
29 oo_DEFINE_CLASS (CCA, Daata)
30
31 oo_INTEGER (numberOfCoefficients)
32 oo_INTEGER (numberOfObservations)
33 oo_OBJECT (Strings, 0, yLabels)
34 oo_OBJECT (Strings, 0, xLabels)
35
36 #if oo_READING
37 oo_VERSION_UNTIL (1)
38 oo_OBJECT (Eigen, 0, y)
39 oo_OBJECT (Eigen, 0, x)
40 oo_VERSION_ELSE
41 oo_OBJECT (Eigen, 1, y)
42 oo_OBJECT (Eigen, 1, x)
43 oo_VERSION_END
44 #else
45 oo_OBJECT (Eigen, 1, y)
46 oo_OBJECT (Eigen, 1, x)
47 #endif
48
49 #if oo_DECLARING
50 void v1_info ()
51 override;
52 #endif
53
54 oo_END_CLASS (CCA)
55 #undef ooSTRUCT
56
57
58 /* End of file CCA_def.h */