Debian Codegraph @

melder/melder_quantity.cpp

raw symbols SCIP
1 /* melder_quantity.cpp
2 *
3 * Copyright (C) 2007-2011,2015 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 #include "melder.h"cxx . . $ `<file>/melder/melder.h`/
20
21 static const conststring32cxx . . $ conststring32# textscxx . . $ texts. [1+MelderQuantity_NUMBER_OF_QUANTITIEScxx . . $ `melder/melder_quantity.h:26:9`!] [4] = {
22 { U"", U"", U"", U"" },
23 { U"Time", U"Time (s)", U"seconds", U"s" },
24 { U"Frequency", U"Frequency (Hz)", U"Hertz", U"Hz" },
25 { U"Frequency", U"Frequency (Bark)", U"Bark", U"Bark" },
26 { U"Distance from glottis", U"Distance from glottis (m)", U"metres", U"m" },
27 };
28
29 conststring32cxx . . $ conststring32# MelderQuantity_getTextcxx . . $ MelderQuantity_getText(e01d9eb94348e215). (int quantity) { return textscxx . . $ texts. [quantity] [0]; }
30 conststring32cxx . . $ conststring32# MelderQuantity_getWithUnitTextcxx . . $ MelderQuantity_getWithUnitText(e01d9eb94348e215). (int quantity) { return textscxx . . $ texts. [quantity] [1]; }
31 conststring32cxx . . $ conststring32# MelderQuantity_getLongUnitTextcxx . . $ MelderQuantity_getLongUnitText(e01d9eb94348e215). (int quantity) { return textscxx . . $ texts. [quantity] [2]; }
32 conststring32cxx . . $ conststring32# MelderQuantity_getShortUnitTextcxx . . $ MelderQuantity_getShortUnitText(e01d9eb94348e215). (int quantity) { return textscxx . . $ texts. [quantity] [3]; }
33
34 /* End of file melder_quantity.cpp */