Ets_Pj_Scenarios_Manage_Table_Info_Get()
Note: Requires OPNET Development Kit
Abstract
Gets a table of information about the scenarios managed by a Manage Scenarios dialog box.
Syntax
Ets_Pj_Scenarios_Manage_Table_Info_Get (handle)
| Argument | Type | Description |
|---|---|---|
handle |
EtsT_Pj_Scenarios_Manage_Handle |
Scenario management state information. |
Return Type
PrgT_List *
List of EtsT_Pj_Scenarios_Manage_Table_Info pointers, each of which corresponds to a row in the Manage Scenarios dialog box.
Header
ets_api_pj.h
Details
This function creates a list of information describing the state of the scenarios being managed by a Manage Scenarios dialog box. The information includes the scenario names and which scenarios are to be created, which are to be deleted, which need to have results recollected, and so on.
The EtsT_Pj_Scenarios_Manage_Table_Info pointers in the returned list point to structures defined as follows:
typedef struct
{
char *name;
char *duplicate;
char *orig_name;
int index;
int flags;
} EtsT_Pj_Scenarios_Manage_Table_Info
The flags item in this structure must be one of these symbolic constants:
- ETSC_PJ_SCENARIOS_MANAGE_INFO_NONE
- ETSC_PJ_SCENARIOS_MANAGE_INFO_NEW
- ETSC_PJ_SCENARIOS_MANAGE_INFO_DELETE
- ETSC_PJ_SCENARIOS_MANAGE_INFO_RENAME
- ETSC_PJ_SCENARIOS_MANAGE_INFO_DISCARD_RESULTS
- ETSC_PJ_SCENARIOS_MANAGE_INFO_COLLECT_RESULTS
- ETSC_PJ_SCENARIOS_MANAGE_INFO_SELECTED