コード例 #1
0
ファイル: DisplayFile.cpp プロジェクト: deciomoritz/CG2015.2
string DisplayFile::to_string(){
	string s = "";
	for (int i = 0; i < getSize(); ++i) {
		Objeto & obj = **posicaoMem(i);
		s += obj.to_string() + "\n";
	}
	return s;
}
コード例 #2
0
Object* DisplayFile::getObj(Object *obj){
    return *posicaoMem(obj);
}