diff m-toolbox/classes/@ltpda_uoh/fromLISO.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/@ltpda_uoh/fromLISO.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,22 @@
+% FROMLISO Default method to read LISO files
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% FUNCTION:    fromLISO
+%
+% DESCRIPTION: If a class can not handle a LISO file then throw always an error.
+%              If a class can handle thie file then overload this method.
+%
+% CALL:        f = fromLISO(f, pli)
+%
+% PARAMETER:   pzm: Empty ltpda_uoh-object
+%              pli: input plist (must contain the filename)
+%
+% VERSION:     $Id: fromLISO.m,v 1.2 2010/10/29 12:43:26 ingo Exp $
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+function obj = fromLISO(obj, pli)
+
+  error('### It is not possible to convert a LISO file into a %s-object', class(obj));
+
+end