view m-toolbox/classes/@ltpda_uoh/fromDatafile.m @ 24:056f8e1e995e database-connection-manager

Properly record history in fromRepository constructors
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% FROMDATAFILE Default method to convert a data-file into a ltpda_uoh-object
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% FUNCTION:    fromDatafile
%
% DESCRIPTION: Default method to convert a data-file into a ltpda_uoh-object
%
% CALL:        obj = fromDatafile(obj, pli)
%
% PARAMETER:   obj: empty ltpda_uoh-object
%              pli: plist-object (must contain the filename)
%
% VERSION:     $Id: fromDatafile.m,v 1.3 2010/10/29 12:43:26 ingo Exp $
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function obj = fromDatafile(obj, pli)

  error('### It is not possible to convert this data file into a %s-object', class(obj));

end