bool StructDef::printStructureStreamShape(std::ostream& out) { for (int j=0; j < nComponents; j++) { if(!components[j]->printStructureStreamShapeInternals(out)) return false; Decl *decl = components[j]->next; while (decl != NULL) { if(!decl->printStructureStreamShapeInternals(out)) return false; decl = decl->next; } } return true; }