| 52 | } |
| 53 | |
| 54 | int CStringArray::indexOf(const char* str, bool ignoreCase) const |
| 55 | { |
| 56 | for(auto it = begin(); it != end(); ++it) { |
| 57 | if(ignoreCase) { |
| 58 | if(it.equalsIgnoreCase(str)) { |
| 59 | return it.index(); |
| 60 | } |
| 61 | } else if(it.equals(str)) { |
| 62 | return it.index(); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | return -1; |
| 67 | } |
| 68 | |
| 69 | const char* CStringArray::getValue(unsigned index) const |
| 70 | { |
no test coverage detected