ArrayUtils.cpp 267 B

1234567891011
  1. #include "ArrayUtils.h"
  2. Framework::RCArray<Framework::Text> toArray(Framework::Text text, int count)
  3. {
  4. Framework::RCArray<Framework::Text> result;
  5. for (int i = 0; i < count; i++)
  6. {
  7. result.add(new Framework::Text(text));
  8. }
  9. return result;
  10. }