view m-toolbox/classes/tests/@ltpda_utp/char.m @ 26:ce4df2e95a55 database-connection-manager

Remove LTPDARepositoryManager initialization
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% CHAR convert a ltpda_utp object into a string.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: CHAR convert an ltpda_utp object into a string.
%
% CALL:        string = char(sw);
%
% VERSION:     $Id: char.m,v 1.1 2010/10/07 14:52:24 hewitson Exp $
%
% HISTORY:     04-02-2007 M Hewitson
%                 Creation
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function varargout = char(varargin)

  %%% Get input

  pstr = [];
  for kk = 1:nargin
    utp = varargin{kk};

    pstr = [class(utp)];

    if kk<nargin
      pstr = [pstr ', '];
    end
  end

  varargout{1} = pstr;

end