| 191 | } |
| 192 | |
| 193 | YStringArray::YStringArray(const YStringArray &other) : |
| 194 | BaseType(other.getCount()) |
| 195 | { |
| 196 | for (SizeType i = 0; i < other.getCount(); ++i) |
| 197 | append(other.getString(i)); |
| 198 | } |
| 199 | |
| 200 | YStringArray::YStringArray(const char* cstr[], SizeType num, SizeType cap) : |
| 201 | BaseType(max(num, cap)) |