SUBSYSTEM OVERVIEW
IGES ASCII File Parser (IAFP) Subsystem
The IAFP subsystem is responsible for parsing ASCII IGES data files into the internal working form. The parser performs numerous error checks for both syntactical and symantical errors while reading the file.
USAGE
The IAFP subsystem has one main interface routine, iafp_ParseFile. This routine takes the name of an IGES file and a destination model as its arguments. The destination model must be allocated before the call to iafp_ParseFile. The parser can optionally invoke an application defined routine after each entity has been parsed (but before it is written to the database). The function is most commonly used to add the entity to a linked list based on type or some other attribute. Modifications can be made to the entity as long as they do not invalidate it. Any changes made to the entity will be written to the database. Normally the parser is invoked by calling mda_ParseFile with any options to be passed to iafp_ParseFile (the routine iges_InitModelInfo configures the model so that iafp_ParseFile is invoked).