1 classdef AStructChangeTracker<handle
7 [SInput,lastRev]=applyAllLaterPatches(self,SInput,startRev)
8 % APPLYALLLATERPATCHES applies a series of patches up to the latest
13 % self: the
object itself
14 % SInput: struct[1,1] - input structure
15 % startRev: numeric[1,1] - start revision
18 % SInput: struct[1,1] - updated structure
19 % lastRev: numeric[1,1] -
22 % $Author: Peter Gagarinov, PhD <pgagarinov@gmail.com> $
23 % $Copyright: 2015-2016 Peter Gagarinov, PhD
24 % 2015 Moscow State University
25 % Faculty of Computational Mathematics and Computer Science
26 % System Analysis Department$
29 SInput=applyPatches(self,SInput,startRev,endRev,isInclusiveVec)
30 % APPLYPATCHES applies a series of patches corresponding to the
31 % given revision range to the input structure
35 % self: the
object itself
36 % SInput: struct[1,1] - input structure
37 % startRev: numeric[1,1] - start revision
38 % endRev: numeric[1,1] - end revision
41 % isInclusiveVec: logical[1,2] - indicates whether
42 % startRev and endRev specify the revision bounds
46 % SInput: struct[1,1] - updated structure
49 lastRev=getLastRevision(self)
50 % GETLASTREVISION returns the latest revision number found
51 % amonth all the patches defined in the given
object 55 % self: the
object itself
57 % lastRev:
double[1,1] - latest revision number