Ets_Nt_Import_Object_Characteristic_Add()
Note: Requires OPNET Development Kit
Abstract
Creates a new characteristic for an object.
Syntax
Ets_Nt_Import_Object_Characteristic_Add (imp_obj_ptr, name, value)
| Argument | Type | Description |
|---|---|---|
imp_obj_ptr |
EtsT_Nt_Import_Object* |
Object to which to add the characteristic. |
name |
const char* |
Name of the characteristic to be added. |
value |
const char* |
Value of the characteristic to be added. |
Return Type
void
No return value.
Header
ets_nt_obj_import.h
Details
Characteristics are used by model matching code to determine which model is appropriate for a given object.
This function generates a recoverable error if imp_obj_ptr is NIL, name is unspecified (NIL pointer or empty string), or value is NIL.
Use Ets_Nt_Import_Object_Characteristic_Score_Add() if you want to specify parameters to be used during the model-matching phase (such as a score for the characteristic).