| 1 | #cxx . . $ `<file>/dwsys/DoublyLinkedList.h`/ifndef _DoublyLinkedList_h_ |
| 2 | #define _DoublyLinkedList_h_cxx . . $ `dwsys/DoublyLinkedList.h:2:9`! |
| 3 | /* DoublyLinkedList.h |
| 4 | * |
| 5 | * Copyright (C) 2011-2018 David Weenink, 2015 Paul Boersma |
| 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 | |
| 22 | #include "Data.h"cxx . . $ `<file>/sys/Data.h`/ |
| 23 | |
| 24 | Thing_definecxx . . $ theClassInfo_DoublyLinkedNode. (DoublyLinkedNode, Daata) { |
| 25 | DoublyLinkedNodecxx . . $ DoublyLinkedNode# nextcxx . . $ structDoublyLinkedNode#next., prevcxx . . $ structDoublyLinkedNode#prev.; |
| 26 | autoDaatacxx . . $ autoDaata# datacxx . . $ structDoublyLinkedNode#data.; |
| 27 | |
| 28 | void v1_copycxx . . $ structDoublyLinkedNode#v1_copy(42659c2335f2eda7). (Daatacxx . . $ Daata# data_to) const |
| 29 | override; |
| 30 | }; |
| 31 | |
| 32 | Thing_definecxx . . $ autoSomeThing# (DoublyLinkedList, Thing) { |
| 33 | integercxx . . $ integer# numberOfNodescxx . . $ structDoublyLinkedList#numberOfNodes.; |
| 34 | DoublyLinkedNodecxx . . $ DoublyLinkedNode# frontcxx . . $ structDoublyLinkedList#front., backcxx . . $ structDoublyLinkedList#back.; |
| 35 | |
| 36 | void v9_destroycxx . . $ structDoublyLinkedList#v9_destroy(ced63f7c635d850d). () noexcept |
| 37 | override; |
| 38 | |
| 39 | static int s_compareHookcxx . . $ structDoublyLinkedList#s_compareHook(6db7cd0ff86649e8). (Daatacxx . . $ Daata# /* data1 */, Daatacxx . . $ Daata# /* data2 */) noexcept; |
| 40 | virtual Data_CompareHookcxx . . $ Data_CompareHook# v_getCompareHookcxx . . $ structDoublyLinkedList#v_getCompareHook(595dba4c91681740). () { return s_compareHookcxx . . $ MelderCompareHook#MelderCompareHook(3e1711cf2889fa6c).; } |
| 41 | }; |
| 42 | |
| 43 | autoDoublyLinkedNodecxx . . $ autoDoublyLinkedNode# DoublyLinkedNode_createcxx . . $ DoublyLinkedNode_create(d0f338d5367a7b54). (autoDaatacxx . . $ autoDaata# data); |
| 44 | |
| 45 | void DoublyLinkedList_initcxx . . $ DoublyLinkedList_init(d44afe7b578c9278). (DoublyLinkedListcxx . . $ DoublyLinkedList# me); |
| 46 | |
| 47 | autoDoublyLinkedListcxx . . $ autoDoublyLinkedList# DoublyLinkedList_createcxx . . $ DoublyLinkedList_create(d35e9a1b7ea31d63). (); |
| 48 | |
| 49 | void DoublyLinkedList_addFrontcxx . . $ DoublyLinkedList_addFront(a2c897d9bfcc8e6a). (DoublyLinkedListcxx . . $ DoublyLinkedList# me, DoublyLinkedNodecxx . . $ DoublyLinkedNode# n); |
| 50 | |
| 51 | void DoublyLinkedList_addBackcxx . . $ DoublyLinkedList_addBack(a2c897d9bfcc8e6a). (DoublyLinkedListcxx . . $ DoublyLinkedList# me, DoublyLinkedNodecxx . . $ DoublyLinkedNode# n); |
| 52 | |
| 53 | void DoublyLinkedList_addBeforecxx . . $ DoublyLinkedList_addBefore(df52792679f85443). (DoublyLinkedListcxx . . $ DoublyLinkedList# me, DoublyLinkedNodecxx . . $ DoublyLinkedNode# pos, DoublyLinkedNodecxx . . $ DoublyLinkedNode# n); |
| 54 | |
| 55 | void DoublyLinkedList_addAftercxx . . $ DoublyLinkedList_addAfter(df52792679f85443). (DoublyLinkedListcxx . . $ DoublyLinkedList# me, DoublyLinkedNodecxx . . $ DoublyLinkedNode# pos, DoublyLinkedNodecxx . . $ DoublyLinkedNode# n); |
| 56 | |
| 57 | void DoublyLinkedList_removecxx . . $ DoublyLinkedList_remove(a2c897d9bfcc8e6a). (DoublyLinkedListcxx . . $ DoublyLinkedList# me, DoublyLinkedNodecxx . . $ DoublyLinkedNode# n); |
| 58 | |
| 59 | void DoublyLinkedList_sortcxx . . $ DoublyLinkedList_sort(d44afe7b578c9278). (DoublyLinkedListcxx . . $ DoublyLinkedList# me); |
| 60 | |
| 61 | void DoublyLinkedList_sortPartcxx . . $ DoublyLinkedList_sortPart(df52792679f85443). (DoublyLinkedListcxx . . $ DoublyLinkedList# me, DoublyLinkedNodecxx . . $ DoublyLinkedNode# from, DoublyLinkedNodecxx . . $ DoublyLinkedNode# to); |
| 62 | |
| 63 | #endif // _DoublyLinkedList_h_ |
| 64 |