view m-toolbox/classes/+utils/+const/@categories/categories.m @ 19:69e3d49b4b0c database-connection-manager

Update ltpda_uo.fromRepository
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +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