Ets_Slice_Content_Model_Name_Get()
Note: Requires OPNET Development Kit
Abstract
Returns the name of the model displayed by a slice.
Syntax
Ets_Slice_Content_Model_Name_Get (slice_hndl, name_buffer)
| Argument | Type | Description |
|---|---|---|
slice_hndl |
const EtsT_Slice_Handle |
Handle of the slice of interest. |
name_buffer |
char * |
Pointer to an area to be filled with the requested model name. |
Return Type
EtsT_Compcode
Returns EtsC_Compcode_Success if the slice has a model that can be referred to by name, or EtsC_Compcode_Failure if the slice type doesn't support the model concept.
Header
ets_api_nt.h
Details
Fills the supplied name buffer with the name of the model in the specified slice, if any. Some slices, such as EtsC_Slice_Network_Objects, do not support the model concept (see Shapeset Sub-Package for a description of models.)