Draw functions in cointainer?

Is it possible to use drawing functions to some one group (container) ?
functions like :
DrawRect, Canvas->DrawTile, this->Canvas->DrawItem(TextItem)

Something similar like in AS3:

var Container = new Sprite();
Container.addChild(A1);
Container.addChild(A2);
Container.addChild(A3);

Container.x = 100;  Container.y = 200;

Thanks…

C++ does not support that, you need to loop thru it, with C++11 (which standard that UE4 uses) it’s very easy

for(AActor* i: SomeTArray) i->DoSomething();

you can add more lines to loop ofcorse by using {} brackets like in “if”