Synopsis
PDX_MSGT vaff_FormatFile(long option, int model, char *file_name, MDA_ENT_FUNC *func)
Purpose
Format an VDAFS model out as an ASCII VDAFS file.
Description
Main routine for formatting a model into an ASCII VDAFS file.
Input
option
VAFF_OVERWRITE
If the destination file already exists it is to be overwritten. The default is to return an error if the file already exists.
VAFF_AUTONAME
Automatically generate names for each VDAFS entity in the model. Any existing entity names are ignored and new entity names are generated for the entities.
model
Model to be formatted
file_name
Name of file to be created
func
Function to be called with each entity after it is parsed or NULL if no function should be called. See mda_FormatFile for more information.
Return
VAFF error code