diff m-toolbox/classes/+utils/+const/@categories/categories.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/+const/@categories/categories.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,59 @@
+% 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
\ No newline at end of file