#include "ArrayUtils.h" Framework::RCArray<Framework::Text> toArray(Framework::Text text, int count) { Framework::RCArray<Framework::Text> result; for (int i = 0; i < count; i++) { result.add(new Framework::Text(text)); } return result; }