void CThingyList::WriteStream(LStream& inOutputStream) { ValidateList(); UInt16 numThingys = GetCount(); inOutputStream << numThingys; // write the object count for (long i = 1; i <= numThingys; i++) { // now write that many objects ThingyRef* aRefP = (ThingyRef*) GetItemPtr(i); DEBUG_OUT(" |-- "<<(*aRefP), DEBUG_TRIVIA | DEBUG_CONTAINMENT ); inOutputStream << (*aRefP); } }
void TBSelectList::OnProcess() { ValidateList(); }