Line* LinkView::GetLine () { Iterator i; Graphic* gr = GetGraphic(); gr->First(i); return (Line*) gr->GetGraphic(i); }
ViewerView::~ViewerView () { Graphic* g = GetGraphic(); Iterator i; g->First(i); while (!g->Done(i)) { g->Remove(i); } _vg->First(i); _vg->Remove(i); delete _vg; }