Home > classes > @ao > t0.m

t0

PURPOSE ^

T0 Get the data property 't0'.

SYNOPSIS ^

function varargout = t0(varargin)

DESCRIPTION ^

 T0 Get the data property 't0'.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: Get the data property 't0'.

 CALL:        val = ao.t0();

 INPUTS:      obj - must be a single data2D object.

 M-FILE INFO: Get information about this methods by calling
              >> ao.getInfo('t0')

              Get information about a specified set-plist by calling:
              >> ao.getInfo('t0', 'None')

 VERSION:     $Id: t0.m,v 1.1 2008/09/05 13:55:17 ingo Exp $

 HISTORY:     27-05-2008 Diepholz
                 Creation

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SUBFUNCTIONS ^

SOURCE CODE ^

0001 % T0 Get the data property 't0'.
0002 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0003 %
0004 % DESCRIPTION: Get the data property 't0'.
0005 %
0006 % CALL:        val = ao.t0();
0007 %
0008 % INPUTS:      obj - must be a single data2D object.
0009 %
0010 % M-FILE INFO: Get information about this methods by calling
0011 %              >> ao.getInfo('t0')
0012 %
0013 %              Get information about a specified set-plist by calling:
0014 %              >> ao.getInfo('t0', 'None')
0015 %
0016 % VERSION:     $Id: t0.m,v 1.1 2008/09/05 13:55:17 ingo Exp $
0017 %
0018 % HISTORY:     27-05-2008 Diepholz
0019 %                 Creation
0020 %
0021 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0022 
0023 function varargout = t0(varargin)
0024 
0025   %%% Check if this is a call for parameters
0026   if utils.helper.isinfocall(varargin{:})
0027     varargout{1} = getInfo(varargin{3});
0028     return
0029   end
0030 
0031   obj = varargin{1};
0032 
0033   if isprop(obj.data, 't0')
0034     varargout{1} = obj.data.t0;
0035   else
0036     varargout{1} = [];
0037   end
0038 
0039 end
0040 
0041 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0042 %                               Local Functions                               %
0043 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0044 
0045 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0046 %
0047 % FUNCTION:    getInfo
0048 %
0049 % DESCRIPTION: Get Info Object
0050 %
0051 % HISTORY:     11-07-07 M Hewitson
0052 %                Creation.
0053 %
0054 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0055 
0056 function ii = getInfo(varargin)
0057   if nargin == 1 && strcmpi(varargin{1}, 'None')
0058     sets = {};
0059     pl   = [];
0060   else
0061     sets = {'Default'};
0062     pl   = getDefaultPlist;
0063   end
0064   % Build info object
0065   ii = minfo(mfilename, 'ao', '', utils.const.categories.internal, '$Id: t0.m,v 1.1 2008/09/05 13:55:17 ingo Exp $', sets, pl);
0066 end
0067 
0068 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0069 %
0070 % FUNCTION:    getDefaultPlist
0071 %
0072 % DESCRIPTION: Get Default Plist
0073 %
0074 % HISTORY:     11-07-07 M Hewitson
0075 %                Creation.
0076 %
0077 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0078 
0079 function plo = getDefaultPlist()
0080   plo = plist();
0081 end
0082

Generated on Mon 08-Sep-2008 13:18:47 by m2html © 2003