Debian Codegraph @

stat/TableOfReal_def.h

raw symbols SCIP
1 /* TableOfReal_def.h
2 *
3 * Copyright (C) 1992-2005,2007,2011,2012,2015-2018,2022,2023 Paul Boersma
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.
13 * See the GNU 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 #define ooSTRUCT TableOfReal
21 oo_DEFINE_CLASS (TableOfReal, Daata)
22
23 oo_INTEGER (numberOfRows)
24 oo_INTEGER (numberOfColumns)
25 oo_STRING_VECTOR (rowLabels, numberOfRows)
26 oo_STRING_VECTOR (columnLabels, numberOfColumns)
27 oo_MAT (data, numberOfRows, numberOfColumns)
28
29 #if oo_DECLARING
30 void v1_info ()
31 override;
32 bool v_hasGetNrow () const
33 override { return true; }
34 double v_getNrow () const
35 override { return numberOfRows; }
36 bool v_hasGetNcol () const
37 override { return true; }
38 double v_getNcol () const
39 override { return numberOfColumns; }
40 bool v_hasGetRowStr () const
41 override { return true; }
42 conststring32 v_getRowStr (integer irow) const
43 override;
44 bool v_hasGetColStr () const
45 override { return true; }
46 conststring32 v_getColStr (integer icol) const
47 override;
48 bool v_hasGetMatrix () const
49 override { return true; }
50 double v_getMatrix (integer irow, integer icol) const
51 override;
52 bool v_hasGetRowIndex () const
53 override { return true; }
54 double v_getRowIndex (conststring32 rowLabel) const
55 override;
56 bool v_hasGetColIndex () const
57 override { return true; }
58 double v_getColIndex (conststring32 columnLabel) const
59 override;
60 #endif
61
62 oo_END_CLASS (TableOfReal)
63 #undef ooSTRUCT
64
65
66 /* End of file TableOfReal_def.h */