Changes between Version 1 and Version 2 of MapGuideRfc36


Ignore:
Timestamp:
Sep 16, 2007, 2:38:57 PM (17 years ago)
Author:
stevedang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc36

    v1 v2  
    1 = !MapGuide RFC 23 - Improve EnumerateResources API's performance =
     1= !MapGuide RFC 23 - Improve !EnumerateResources API's performance =
    22
    33This page contains a change request (RFC) for the !MapGuide Open Source project. 
     
    3939The new !EnumerateResources API is described/documented as follows:
    4040
     41{{{
    4142    //////////////////////////////////////////////////////////////////////////////////////////////////////
    4243    /// \brief
     
    9899    /// <ul>
    99100    ///     <li>If it is true, then the number of children of the folder
    100     ///          resource at the specified depth will be set to a computed value (>= 0).
     101    ///          resource at the specified depth will be set to a computed value (<= 0).
    101102    ///     </li>
    102103    ///     <li>If it is false, then the number of children of the folder
     
    154155    MgByteReader* EnumerateResources(MgResourceIdentifier* resource,
    155156        INT32 depth, CREFSTRING type, bool computeChildren);
     157}}}
    156158
    157159Note that the performance of the !EnumerateResources API depends on the recursion depth and how effectively the tree hierarchy of resources is laid out, and that the client applications are encouraged to use the new API to take advantage of it.