Ets_Selfdesc_Port_Requirement_Get()
Note: Requires OPNET Development Kit
Abstract
Returns the requirement value string for the specified characteristic.
Syntax
Ets_Selfdesc_Port_Requirement_Get (ets_selfdesc_ptr, port_num, characteristic, comparator_ptr)
| Argument | Type | Description |
|---|---|---|
ets_selfdesc_ptr |
EtsT_Selfdesc * |
Pointer to the self description object of interest. |
port_num |
unsigned int |
Number of the port of interest. |
characteristic |
const char * |
Name of the characteristic to get. See Details for allowable names. |
comparator_ptr |
EtsT_Selfdesc_Req_Comparator * |
Area to be filled with the requirement comparator corresponding to characteristic. See Table 39 for possible values. |
Return Type
const char *
Requirement value string for the specified characteristic, or VOSC_NIL if the requirement could not be obtained.
Header
ets_selfdesc.h
Details
characteristic must be one of the following constants:
ETSC_SELFDESC_REQUIREMENT_MACHINE_TYPE—“machine type”ETSC_SELFDESC_REQUIREMENT_VENDOR_NAME—“vendor”ETSC_SELFDESC_REQUIREMENT_DEVICE_NAME—“System Description”ETSC_SELFDESC_REQUIREMENT_INTERFACE_TYPE—“interface type”