Synopsis

PDX_MSGT mda_GetModelInfo(int model, MDA_MODEL_INFO *model_info)

Purpose

Obtain information about a model.

Description

All of the user accessible information about the specified model are returned. These fields include those documented in the function mda_GetModelDefaults and the following: .RS 3 .TP 14 long entcount Number of entities defined in model. .TP MDA_ENTITY_LIST *entlist The master list of entities in the model. The thread number correspond to entity TFIs in the model so that the list of a particular TF can be accessed by using the corresponding TFI as the thread number. .LP .RE

Note that all fields in the model_info structure should be treated as containing read-only data (i.e. the caller must not modify the master entity list).

Input

model

The model to return information about

Output

model_info

A structure of information about the model

Return

MDA error code