view m-toolbox/classes/+utils/+const/@categories/categories.m @ 41:6def6533cb16 database-connection-manager

Report authentication errors to user
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 18:04:34 +0100
parents f0afece42f48
children
line wrap: on
line source

% CATEGORIES class that defines LTPDA method categories.
%
% CALL:  utils.const.categories.KEY
%
% This class have the following constants:
%
%   KEY           |  VALUE
%   --------------------------------
%   constructor   | 'Constructor'
%   internal      | 'Internal'
%   statespace    | 'Statespace'
%   sigproc       | 'Signal Processing'
%   aop           | 'Arithmetic Operator'
%   helper        | 'Helper'
%   op            | 'Operator'
%   output        | 'Output'
%   relop         | 'Relational Operator'
%   trig          | 'Trigonometry'
%   mdc01         | 'MDC01'
%   gui           | 'GUI function'
%   converter     | 'Converter'
%   user          | 'User defined'
% 
% M Hewitson 30-08-08
% 
% $Id: categories.m,v 1.5 2009/10/01 21:34:29 ingo Exp $
% 

classdef categories
  properties (Constant = true)
    constructor    = 'Constructor';
    internal       = 'Internal';
    statespace     = 'Statespace';
    sigproc        = 'Signal Processing';
    aop            = 'Arithmetic Operator';
    helper         = 'Helper';
    op             = 'Operator';
    output         = 'Output';
    relop          = 'Relational Operator';
    trig           = 'Trigonometry';
    mdc01          = 'MDC01';    
    gui            = 'GUI function';
    converter      = 'Converter';
    user           = 'User defined';
  end
  
  methods (Static=true)
    
    % List the categories
    function cl = list      
      props = [properties(utils.const.categories)];
      cl = cell(numel(props),1);
      for k=1:numel(props)
        cl(k) = {utils.const.categories.(props{k})};
      end      
    end    
    
  end  
end