13 #ifndef TLX_SORT_STRINGS_HEADER 14 #define TLX_SORT_STRINGS_HEADER 40 void sort_strings(
unsigned char** strings,
size_t size,
size_t memory = 0) {
55 void sort_strings(
char** strings,
size_t size,
size_t memory = 0) {
57 reinterpret_cast<unsigned char**>(strings), size, memory);
83 void sort_strings(
const char** strings,
size_t size,
size_t memory = 0) {
85 reinterpret_cast<const unsigned char**>(strings), size, memory);
98 void sort_strings(std::vector<char*>& strings,
size_t memory = 0) {
99 return sort_strings(strings.data(), strings.size(), memory);
109 void sort_strings(std::vector<unsigned char*>& strings,
size_t memory = 0) {
110 return sort_strings(strings.data(), strings.size(), memory);
121 void sort_strings(std::vector<const char*>& strings,
size_t memory = 0) {
122 return sort_strings(strings.data(), strings.size(), memory);
134 return sort_strings(strings.data(), strings.size(), memory);
162 void sort_strings(std::vector<std::string>& strings,
size_t memory = 0) {
163 return sort_strings(strings.data(), strings.size(), memory);
197 reinterpret_cast<unsigned char**>(strings), size, lcp, memory);
227 reinterpret_cast<const unsigned char**>(strings), size, lcp, memory);
321 #endif // !TLX_SORT_STRINGS_HEADER static void sort_strings(unsigned char **strings, size_t size, size_t memory=0)
Sort a set of strings represented by C-style uint8_t* in place.
Class implementing StringSet concept for char* and unsigned char* strings.
Class implementing StringSet concept for arrays of std::string objects.
static void radixsort_CE3(const StringPtr &strptr, size_t depth, size_t memory)
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
Objectified string and LCP array pointer arrays.
static void sort_strings_lcp(unsigned char **strings, size_t size, uint32_t *lcp, size_t memory=0)
Sort a set of strings represented by C-style uint8_t* in place.
Objectified string array pointer array.