To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10446
10445  |  10447
Subject: 
Re: MPD file loading search order
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 26 Jul 2006 04:17:08 GMT
Viewed: 
2126 times
  
In lugnet.cad.dev, Roland Melkert wrote:
You can do it in one pass (if you don't count the loading of the file to
a stringlist).

Wile walking through the file you build you're objectlist with subparts.

Afterwards you go recursively through the list of subparts. This way all
mpd subparts are loaded before processing the mainpart.

But you could call the processing of the resulting subpart object list
the second pass :)

I actually consider that to be two-pass, and that's essentially what LDView
does.  The only extra thing it does is that it checks for 0 PART meta-commands
in the first pass, and puts the file data for the sub-files into their own
separate part-file objects, instead of loading that data into the MPD file's
object.

--Travis



Message is in Reply To:
  Re: MPD file loading search order
 
(...) You can do it in one pass (if you don't count the loading of the file to a stringlist). Wile walking through the file you build you're objectlist with subparts. Afterwards you go recursively through the list of subparts. This way all mpd (...) (18 years ago, 25-Jul-06, to lugnet.cad.dev)

29 Messages in This Thread:








Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR