Ignore:
Timestamp:
06/04/12 10:17:05 (13 years ago)
Author:
Mathieu Morlighem
Message:

Simplified BuildQueueingScript interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/pairoptions.m

    r11872 r12351  
    223223                        end
    224224                end % }}}
     225                function marshall(obj,fid)% {{{
     226                        disp('No options marshalled for now');
     227                        for i=1:size(obj.list,1),
     228                                name  = obj.list{i,1};
     229                                value = obj.list{i,2};
     230
     231                                if (isnumeric(value) & numel(value)==1),
     232                                        %
     233                                elseif ischar(value),
     234                                        %
     235                                else
     236                                        error(['Cannot marshall option ' name ': format not supported yet']);
     237                                end
     238                        end
     239                end % }}}
    225240        end
    226241end
Note: See TracChangeset for help on using the changeset viewer.