diff m-toolbox/classes/@plist/fromRepository.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/@plist/fromRepository.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,27 @@
+% Retrieve a ltpda_uo from a repository
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% FUNCTION:    fromRepository
+%
+% DESCRIPTION: Retrieve a ltpda_uo from a repository
+%
+% CALL:        obj = fromRepository(pl)
+%
+% PARAMETER:   pl: Parameter list object
+%
+% VERSION:     $Id: fromRepository.m,v 1.10 2011/02/14 19:29:36 ingo Exp $
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+function objs = fromRepository(obj, pli)
+  
+  VERSION = 'plist: $Id: fromRepository.m,v 1.10 2011/02/14 19:29:36 ingo Exp $';
+  
+  % get object info
+  ii = obj.getInfo(class(obj), 'From Repository');
+  % Set the method version string in the minfo object
+  ii.setMversion([VERSION '-->' ii.mversion]);
+  
+  objs = fromRepository@ltpda_uo(obj, pli, ii);
+  
+end
+