| 67 | } |
| 68 | |
| 69 | const char* CStringArray::getValue(unsigned index) const |
| 70 | { |
| 71 | if(index >= count()) { |
| 72 | return nullptr; |
| 73 | } |
| 74 | |
| 75 | for(auto it = begin(); it != end(); ++it) { |
| 76 | if(it.index() == index) { |
| 77 | return *it; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | return nullptr; |
| 82 | } |
| 83 | |
| 84 | bool CStringArray::pushFront(const char* str) |
| 85 | { |