All Frameworks  Class Hierarchy  This Framework  Indexes

SPAscm Global Function api_pm_load_part


outcome api_pm_load_part(FILE* fp,
logical text_mode,
PART* the_part,
logical with_history,
ENTITY_LIST& new_entities)
Loads a file into a PART.

Role: This API loads the entities defined in an open file fp into the specified part. The file must be open and positioned to the start of the entity data to be read. All api_pm functions should be thought of as requiring the use of the PART_CONTEXT class.

Effect: Changes model

Parameters:
fp
file containing entities to load.
text_mode
TRUE (text) or FALSE (binary).
the_part
part in which to load entities.
with_history
TRUE to restore history if it exists in the file.
new_entities
returns list of entities loaded into part.

This object is included in the file: pm_api.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.

SPAscm Global Function api_pm_load_part
All Frameworks  Class Hierarchy  This Framework  Indexes

SPAscm Global Function api_pm_load_part


outcome api_pm_load_part(FILE* fp,
logical text_mode,
PART* the_part,
logical with_history,
ENTITY_LIST& new_entities)
Loads a file into a PART.

Role: This API loads the entities defined in an open file fp into the specified part. The file must be open and positioned to the start of the entity data to be read. All api_pm functions should be thought of as requiring the use of the PART_CONTEXT class.

Effect: Changes model

Parameters:
fp
file containing entities to load.
text_mode
TRUE (text) or FALSE (binary).
the_part
part in which to load entities.
with_history
TRUE to restore history if it exists in the file.
new_entities
returns list of entities loaded into part.

This object is included in the file: load_part.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.