| 1 | #cxx . . $ `<file>/dwtools/NavigationContext.h`/ifndef _NavigationContext_h_ |
| 2 | #define _NavigationContext_h_cxx . . $ `dwtools/NavigationContext.h:2:9`! |
| 3 | /* NavigationContext.h |
| 4 | * |
| 5 | * Copyright (C) 2020-2021 David Weenink |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 | * See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "Strings_.h"cxx . . $ `<file>/sys/Strings_.h`/ |
| 22 | #include "TextGrid.h"cxx . . $ `<file>/fon/TextGrid.h`/ |
| 23 | #include "melder.h"cxx . . $ `<file>/melder/melder.h`/ |
| 24 | |
| 25 | #include "NavigationContext_enums.h"cxx . . $ `<file>/dwtools/NavigationContext_enums.h`/ |
| 26 | |
| 27 | #include "NavigationContext_def.h"cxx . . $ `<file>/dwtools/NavigationContext_def.h`/ |
| 28 | |
| 29 | autoNavigationContextcxx . . $ autoNavigationContext# NavigationContext_createTopicOnlycxx . . $ NavigationContext_createTopicOnly(87a6868f4a636b40). ( |
| 30 | constSTRVECcxx . . $ constSTRVEC# const& topicLabels, kMelder_stringcxx . . $ kMelder_string# topicCriterion, kMatchBooleancxx . . $ kMatchBoolean# topicMatchBoolean |
| 31 | ); |
| 32 | |
| 33 | autoNavigationContextcxx . . $ autoNavigationContext# NavigationContext_createBeforeAndTopiccxx . . $ NavigationContext_createBeforeAndTopic(fa8aa981845e444b). ( |
| 34 | constSTRVECcxx . . $ constSTRVEC# const& topicLabels, kMelder_stringcxx . . $ kMelder_string# topicCriterion, kMatchBooleancxx . . $ kMatchBoolean# topicMatchBoolean, |
| 35 | constSTRVECcxx . . $ constSTRVEC# const& beforeLabels, kMelder_stringcxx . . $ kMelder_string# beforeCriterion, kMatchBooleancxx . . $ kMatchBoolean# beforeMatchBoolean |
| 36 | ); |
| 37 | |
| 38 | autoNavigationContextcxx . . $ autoNavigationContext# NavigationContext_createcxx . . $ NavigationContext_create(8c26f37f2df3028e). ( |
| 39 | constSTRVECcxx . . $ constSTRVEC# const& topicLabels, kMelder_stringcxx . . $ kMelder_string# topicCriterion, kMatchBooleancxx . . $ kMatchBoolean# topicMatchBoolean, |
| 40 | constSTRVECcxx . . $ constSTRVEC# const& beforeLabels, kMelder_stringcxx . . $ kMelder_string# beforeCriterion, kMatchBooleancxx . . $ kMatchBoolean# beforeMatchBoolean, |
| 41 | constSTRVECcxx . . $ constSTRVEC# const& afterLabels, kMelder_stringcxx . . $ kMelder_string# afterCriterion, kMatchBooleancxx . . $ kMatchBoolean# afterMatchBoolean, |
| 42 | kContext_combinationcxx . . $ kContext_combination# combinationCriterion, bool contextOnly |
| 43 | ); |
| 44 | |
| 45 | void NavigationContext_replaceTopicLabelscxx . . $ NavigationContext_replaceTopicLabels(8cb6085299eb9dce). (NavigationContextcxx . . $ NavigationContext# me, Stringscxx . . $ Strings# labels); |
| 46 | void NavigationContext_replaceBeforeLabelscxx . . $ NavigationContext_replaceBeforeLabels(8cb6085299eb9dce). (NavigationContextcxx . . $ NavigationContext# me, Stringscxx . . $ Strings# labels); |
| 47 | void NavigationContext_replaceAfterLabelscxx . . $ NavigationContext_replaceAfterLabels(8cb6085299eb9dce). (NavigationContextcxx . . $ NavigationContext# me, Stringscxx . . $ Strings# labels); |
| 48 | |
| 49 | void NavigationContext_modifyTopicCriterioncxx . . $ NavigationContext_modifyTopicCriterion(c45a15ae190e64a0). (NavigationContextcxx . . $ NavigationContext# me, kMelder_stringcxx . . $ kMelder_string# newCriterion, kMatchBooleancxx . . $ kMatchBoolean# matchBoolean); |
| 50 | void NavigationContext_modifyBeforeCriterioncxx . . $ NavigationContext_modifyBeforeCriterion(c45a15ae190e64a0). (NavigationContextcxx . . $ NavigationContext# me, kMelder_stringcxx . . $ kMelder_string# newCriterion, kMatchBooleancxx . . $ kMatchBoolean# matchBoolean); |
| 51 | void NavigationContext_modifyAfterCriterioncxx . . $ NavigationContext_modifyAfterCriterion(c45a15ae190e64a0). (NavigationContextcxx . . $ NavigationContext# me, kMelder_stringcxx . . $ kMelder_string# newCriterion, kMatchBooleancxx . . $ kMatchBoolean# matchBoolean); |
| 52 | |
| 53 | bool NavigationContext_isTopicLabelcxx . . $ NavigationContext_isTopicLabel(f3fe4a9aac5707a0). (NavigationContextcxx . . $ NavigationContext# me, conststring32cxx . . $ conststring32# label); |
| 54 | bool NavigationContext_isBeforeLabelcxx . . $ NavigationContext_isBeforeLabel(f3fe4a9aac5707a0). (NavigationContextcxx . . $ NavigationContext# me, conststring32cxx . . $ conststring32# label); |
| 55 | bool NavigationContext_isAfterLabelcxx . . $ NavigationContext_isAfterLabel(f3fe4a9aac5707a0). (NavigationContextcxx . . $ NavigationContext# me, conststring32cxx . . $ conststring32# label); |
| 56 | |
| 57 | void NavigationContext_modifyUseCriterioncxx . . $ NavigationContext_modifyUseCriterion(f83477fabe84a2b9). (NavigationContextcxx . . $ NavigationContext# me, kContext_combinationcxx . . $ kContext_combination# combinationCriterion, bool excludeTopicMatch); |
| 58 | |
| 59 | #endif /* _NavigationContext_h_ */ |