Home > classes > @ltpda_obj > prependVersion.m

prependVersion

PURPOSE ^

PREPENDVERSION Prepend the input-version to the property 'version'

SYNOPSIS ^

function obj = prependVersion(obj, val)

DESCRIPTION ^

 PREPENDVERSION Prepend the input-version to the property 'version'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: PREPENDVERSION Prepend the input-version to the property 'version'

 CALL:        obj = obj.prependVersion('new ver');
              obj = prependVersion(obj, 'new ver');

 INPUTS:      obj - is a general object

 VERSION:     $Id: prependVersion.m,v 1.2 2008/07/18 11:13:34 ingo Exp $

 HISTORY:     16-07-2008 Diepholz
                 Creation

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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % PREPENDVERSION Prepend the input-version to the property 'version'
0002 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0003 %
0004 % DESCRIPTION: PREPENDVERSION Prepend the input-version to the property 'version'
0005 %
0006 % CALL:        obj = obj.prependVersion('new ver');
0007 %              obj = prependVersion(obj, 'new ver');
0008 %
0009 % INPUTS:      obj - is a general object
0010 %
0011 % VERSION:     $Id: prependVersion.m,v 1.2 2008/07/18 11:13:34 ingo Exp $
0012 %
0013 % HISTORY:     16-07-2008 Diepholz
0014 %                 Creation
0015 %
0016 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0017 
0018 function obj = prependVersion(obj, val)
0019   %%% decide whether we modify the ltpda_obj-object, or create a new one.
0020   obj = copy(obj, nargout);
0021 
0022   %%% set 'version'
0023   obj.version = [val ' --> ' obj.version];
0024 end

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