string DisplayFile::to_string(){ string s = ""; for (int i = 0; i < getSize(); ++i) { Objeto & obj = **posicaoMem(i); s += obj.to_string() + "\n"; } return s; }
Object* DisplayFile::getObj(Object *obj){ return *posicaoMem(obj); }