| 1 | #cxx . . $ `<file>/dwtools/Strings_extensions.h`/ifndef _Strings_extensions_h_ |
| 2 | #define _Strings_extensions_h_cxx . . $ `dwtools/Strings_extensions.h:2:9`! |
| 3 | /* Strings_extensions.h |
| 4 | * |
| 5 | * Copyright (C) 1993-2022 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. See the GNU |
| 15 | * 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 | djmw 20010114 |
| 23 | djmw 20020813 GPL header |
| 24 | djmw 20040629 Strings_append now accepts an Ordered of Strings. |
| 25 | djmw 20050714 Permutations |
| 26 | djmw 20050724 Index |
| 27 | djmw 20120813 Latest modification |
| 28 | */ |
| 29 | |
| 30 | #include "Collection.h"cxx . . $ `<file>/sys/Collection.h`/ |
| 31 | #include "Index.h"cxx . . $ `<file>/dwsys/Index.h`/ |
| 32 | #include "Strings_.h"cxx . . $ `<file>/sys/Strings_.h`/ |
| 33 | #include "Permutation.h"cxx . . $ `<file>/dwsys/Permutation.h`/ |
| 34 | #include "Index.h"cxx . . $ `<file>/dwsys/Index.h`/ |
| 35 | #include "Table.h"cxx . . $ `<file>/stat/Table.h`/ |
| 36 | |
| 37 | autoStringscxx . . $ autoStrings# Strings_createFixedLengthcxx . . $ Strings_createFixedLength(4779411fb981e1c). (integercxx . . $ integer# numberOfStrings); |
| 38 | |
| 39 | autoStringscxx . . $ autoStrings# Strings_createAsCharacterscxx . . $ Strings_createAsCharacters(9acdfa623bce7965). (conststring32cxx . . $ conststring32# string); |
| 40 | |
| 41 | autoStringscxx . . $ autoStrings# Strings_createAsTokenscxx . . $ Strings_createAsTokens(46a782a57ff120bc). (conststring32cxx . . $ conststring32# string, conststring32cxx . . $ conststring32# separators); |
| 42 | |
| 43 | autoStringscxx . . $ autoStrings# Strings_appendcxx . . $ Strings_append(7400b63c973e9c9e). (OrderedOfcxx . . $ OrderedOf#<structStringscxx . . $ structStrings#>* me); |
| 44 | |
| 45 | autoStringscxx . . $ autoStrings# Strings_changecxx . . $ Strings_change(76dfb0b0a4a65ffa). (Stringscxx . . $ Strings# me, conststring32cxx . . $ conststring32# search, conststring32cxx . . $ conststring32# replace, |
| 46 | int maximumNumberOfReplaces, integercxx . . $ integer# *nmatches, integercxx . . $ integer# *nstringmatches, bool use_regexp); |
| 47 | |
| 48 | autoStringscxx . . $ autoStrings# Strings_createFromSTRVECcxx . . $ Strings_createFromSTRVEC(b66ca11e948a00b5). (constSTRVECcxx . . $ constSTRVEC# const& strings); |
| 49 | |
| 50 | autoStringscxx . . $ autoStrings# Strings_extractPartcxx . . $ Strings_extractPart(bfb81efa69f23511). (Stringscxx . . $ Strings# me, integercxx . . $ integer# start, integercxx . . $ integer# end); |
| 51 | |
| 52 | autoStringsIndexcxx . . $ autoStringsIndex# Strings_to_StringsIndexcxx . . $ Strings_to_StringsIndex(786a22033bf23ced). (Stringscxx . . $ Strings# me, kStrings_sortingcxx . . $ kStrings_sorting# sorting); |
| 53 | |
| 54 | autoStringsIndexcxx . . $ autoStringsIndex# Stringses_to_StringsIndexcxx . . $ Stringses_to_StringsIndex(4d8bb01cf73a31d6). (Stringscxx . . $ Strings# me, Stringscxx . . $ Strings# classes); |
| 55 | /* Construct the index with strings in classes, index [i] = 0 when my strings [i] doesn't occur in classes */ |
| 56 | |
| 57 | autoStringsIndexcxx . . $ autoStringsIndex# Table_to_StringsIndex_columncxx . . $ Table_to_StringsIndex_column(12bba36fe9977926). (Tablecxx . . $ Table# me, integercxx . . $ integer# column, kStrings_sortingcxx . . $ kStrings_sorting# sorting); |
| 58 | |
| 59 | autoStringscxx . . $ autoStrings# StringsIndex_to_Stringscxx . . $ StringsIndex_to_Strings(b89d0cf2901e5aac). (StringsIndexcxx . . $ StringsIndex# me); |
| 60 | |
| 61 | autoPermutationcxx . . $ autoPermutation# Strings_to_Permutationcxx . . $ Strings_to_Permutation(4535383de796ed86). (Stringscxx . . $ Strings# me, kStrings_sortingcxx . . $ kStrings_sorting# sort); |
| 62 | |
| 63 | autoStringscxx . . $ autoStrings# Strings_Permutation_permuteStringscxx . . $ Strings_Permutation_permuteStrings(96bf0a39f3d1f28d). (Stringscxx . . $ Strings# me, Permutationcxx . . $ Permutation# thee); |
| 64 | |
| 65 | #endif /* _Strings_extensions_h_ */ |