Mercurial > hg > ltpda
changeset 9:fbbfcd56e449 database-connection-manager
Remove dead code
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +0100 |
parents | 2f5c9bd7d95d |
children | 75007001cbfe |
files | m-toolbox/classes/@ltpda_uo/retrieve.m |
diffstat | 1 files changed, 0 insertions(+), 45 deletions(-) [+] |
line wrap: on
line diff
--- a/m-toolbox/classes/@ltpda_uo/retrieve.m Mon Dec 05 16:20:06 2011 +0100 +++ b/m-toolbox/classes/@ltpda_uo/retrieve.m Mon Dec 05 16:20:06 2011 +0100 @@ -34,12 +34,6 @@ function varargout = retrieve(varargin) - % Check if this is a call for parameters - if utils.helper.isinfocall(varargin{:}) - varargout{1} = getInfo(varargin{3}); - return - end - import utils.const.* utils.helper.msg(msg.MNAME, 'running %s/%s', mfilename('class'), mfilename); @@ -198,42 +192,3 @@ end end end - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Local Functions % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -function ii = getInfo(varargin) - if nargin == 1 && strcmpi(varargin{1}, 'None') - sets = {}; - pl = []; - else - sets = {'Default'}; - pl = getDefaultPlist; - end - % Build info object - ii = minfo(mfilename, 'ltpda_uo', 'ltpda', utils.const.categories.internal, '$Id: retrieve.m,v 1.28 2011/07/01 14:38:57 ingo Exp $', sets, pl); - ii.setModifier(false); -end - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -function plout = getDefaultPlist() - persistent pl; - if exist('pl', 'var')==0 || isempty(pl) - pl = buildplist(); - end - plout = pl; -end - -function plo = buildplist() - plo = plist(); - - p = param({'conn', 'A database object'}, paramValue.EMPTY_DOUBLE); - plo.append(p); - - p = param({'ids', 'IDs which should be collected'}, paramValue.EMPTY_DOUBLE); - plo.append(p); -end