libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libredwg] iterator methods


From: Felipe Sanches
Subject: [libredwg] iterator methods
Date: Mon, 15 Feb 2010 14:08:02 -0200

I have just git pushed a fix to our iterator routines.

These routines allow the application to loop through all owned objects of a group (BLOCK)

The functions are:

Dwg_Object* get_first_owned_object(Dwg_Object* hdr_obj, Dwg_Object_BLOCK_HEADER* hdr);
Dwg_Object* get_next_owned_object(Dwg_Object* hdr_obj, Dwg_Object* current, Dwg_Object_BLOCK_HEADER* hdr);

During the development of it I have noticed that we are storing version info in several places in our data structures. We should redesign it so that version of the DWG file being processed is stored in a single place.

-Felipe Sanches


reply via email to

[Prev in Thread] Current Thread [Next in Thread]