Ignore:
Timestamp:
11/03/10 08:28:50 (14 years ago)
Author:
jschierm
Message:

Added fieldname method to kml classes since current one lists sub (derived) properties before super (base) properties.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/kml/kml_document.m

    r6456 r6479  
    7979        end
    8080
     81%  return the fieldnames of the object
     82
     83        function [fnames]=fieldnames(kml)
     84
     85%  fieldnames for a sub (derived) class list those before super (base)
     86
     87            fnames=fieldnames(kml_feature());
     88            fnames={fnames{:} ...
     89                    'feature' ...
     90                   }';
     91
     92        end
     93
    8194%  set the properties of the object
    8295
Note: See TracChangeset for help on using the changeset viewer.