| 28 skipped lines |
| 29 | U | 29 | U | Property *props[hashRoots]; |
|
| 30 | U | 30 | U | Property *enumnext; |
|
|
| | | 32 | A | static bool caseSensitiveFilenames; |
| 32 | U | 33 | U | static unsigned int HashString(const char *s, size_t len) { |
|
| 33 | U | 34 | U | unsigned int ret = 0; |
|
|
| 23 skipped lines |
| 58 | U | 59 | U | char *ToString(); // Caller must delete[] the return value |
|
| 59 | U | 60 | U | bool GetFirst(char **key, char **val); |
|
| 60 | U | 61 | U | bool GetNext(char **key, char **val); |
|
| | | 62 | A | static void SetCaseSensitiveFilenames(bool caseSensitiveFilenames_) { |
| | | 63 | A | caseSensitiveFilenames = caseSensitiveFilenames_; |
| | | 64 | A | } |
|
|
| 63 | C | // copy-value semantics not implemented | | 67 | C | // copy-value semantics not implemented |
| 64 | U | 68 | U | PropSet(const PropSet ©); |
|
| 65 | U | 69 | U | void operator=(const PropSet &assign); |
|
|
| 9 skipped lines |
|
| 77 | U | 81 | U | bool onlyLineEnds; ///< Delimited by any white space or only line ends |
|
|
| | | 83 | A | bool sortedNoCase; |
|
| 80 | U | 85 | U | WordList(bool onlyLineEnds_ = false) : |
|
| 81 | C | words(0), wordsNoCase(0), list(0), len(0), onlyLineEnds(onlyLineEnds_), sorted(false) {} | | 86 | C | words(0), wordsNoCase(0), list(0), len(0), onlyLineEnds(onlyLineEnds_), |
| | | 87 | C | sorted(false), sortedNoCase(false) {} |
| 82 | U | 88 | U | ~WordList() { Clear(); } |
|
| 83 | U | 89 | U | operator bool() { return len ? true : false; } |
|
| 84 | U | 90 | U | char *operator[](int ind) { return words[ind]; } |
|
| 2 skipped lines |
| 87 | U | 93 | U | char *Allocate(int size); |
|
| 88 | U | 94 | U | void SetFromAllocated(); |
|
| 89 | U | 95 | U | bool InList(const char *s); |
|
| | | 96 | A | bool InListAbbreviated(const char *s, const char marker); |
| 90 | U | 97 | U | const char *GetNearestWord(const char *wordStart, int searchLen, |
|
| 91 | U | 98 | U | bool ignoreCase = false, SString wordCharacters="", int wordIndex = -1); |
|
| 92 | U | 99 | U | char *GetNearestWords(const char *wordStart, int searchLen, |
|
| 16 skipped lines |