Mercurial > hg > ltpda
diff m-toolbox/classes/+utils/@helper/helper.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/classes/+utils/@helper/helper.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,114 @@ +% HELPER helper class for helpful utility functions. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% DESCRIPTION: HELPER is a helper class for helpful utility functions. +% +% To see the available static methods, call +% +% >> methods utils.helper +% +% +% HISTORY: M Hewitson 26-05-08 +% Creation +% +% VERSION: $Id: helper.m,v 1.47 2011/04/28 13:25:43 hewitson Exp $ +% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +classdef helper + + %------------------------------------------------ + %--------- Declaration of Static methods -------- + %------------------------------------------------ + methods (Static) + + + %------------------------------------------------------------- + % List other methods + %------------------------------------------------------------- + varargout = checkFilterOptions(varargin) + varargout = setoutputs(varargin) + varargout = isSubclassOf(varargin) + + varargout = getPublicMethods(varargin) + varargout = getExtensionDirs(varargin) + varargout = installExtensionsForDir(varargin) + varargout = uninstallExtensionsForDir(varargin) + varargout = installExtensions(varargin) + varargout = uninstallExtensions(varargin) + + varargout = parseMethodInfo(varargin); % Parse, params/version/category call + varargout = collect_objects(varargin) + [as, ao_invars] = collect_values(args, as, ao_invars) + varargout = objdisp(varargin) + + varargout = isobject(varargin) + varargout = ltpda_classes(varargin) + varargout = ltpda_non_abstract_classes(varargin) + classes = ltpda_userclasses(varargin) + varargout = ltpda_categories() + pl = class2plist(varargin) + str = mat2str(number) + str = num2str(number) + str = val2str(varargin) + varargout = saveobj(a, pl) + + varargout = struct2obj(varargin) + varargout = classFromStruct(varargin) + varargout = getClassFromStruct(varargin) + varargout = getObjectFromStruct(varargin) + + ver_num = ver2num(ver_str) + + varargout = isinfocall(varargin) + varargout = generic_getInfo(varargin) + + varargout = ismember(varargin) + + varargout = obj2tex(varargin) + + msg(varargin) + err(varargin) + warn(varargin) + + varargout = dzip(varargin) + varargout = dunzip(varargin) + + errorDlg(msg, title) + warnDlg(msg, title) + + [t, y] = time_data_worsener(t, y, miss_fraction, shift_fraction, shift_range) + + pl = process_spectral_options(pl, type, varargin) + [var, n, pl] = process_smodel_diff_options(pl, rest); + [in_var, ret_var, pl] = process_smodel_transf_options(pl, rest); + + res = isSubmissionPlist(pl) + + varargout = jArrayList2CellArray(varargin) + varargout = getHelpPath(); + varargout = displayMethodInfo(varargin) + varargout = displayConstructorExamples(varargin) + + varargout = callerIsMethod(varargin) + + [avgT,stdT]=CPUbenchmark + + newpath = remove_cvs_from_matlabpath(oldpath) + newpath = remove_svn_from_matlabpath(oldpath) + + varargout = getDefaultValue(varargin) + + %------------------------------------------------------------- + %------------------------------------------------------------- + + % Check MATLAB version + checkMatlabVersion + + end % End static methods + + +end + +% END