function oList=getobjects(c,isVerify)
%GETOBJECTS returns a list of objects to include in report

%   Copyright (c) 1997-2000 by The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2000/03/23 19:36:49 $

currContext=getparentloop(c);
switch currContext
case 'Block'
   loopArgs={
      c.att.isBlockIncoming
      c.att.isBlockOutgoing
   };
case 'System';
   loopArgs={
      c.att.isSystemIncoming
      c.att.isSystemOutgoing
      c.att.isSystemInternal
   };
otherwise
   loopArgs={};
end

oList=loopsignal(c,c.att.SortBy,currContext,loopArgs{:});


