Ets_Nt_Import_Attribute_Child_Add()
Note: Requires OPNET Development Kit
Abstract
Adds a new child to a compound attribute.
Syntax
Ets_Nt_Import_Attribute_Child_Add (attr_ptr, name, value)
| Argument | Type | Description |
|---|---|---|
attr_ptr |
EtsT_Nt_Import_Attribute* |
Compound attribute to which to add the child. |
name |
const char* |
Name of the child attribute to add. |
value |
const char* |
Value of the child attribute to add. |
Return Type
EtsT_Nt_Import_Attribute*
The newly added child attribute.
Header
ets_nt_obj_import.h
Details
This function generates a recoverable error if attr_ptr is NIL or name is unspecified (NIL pointer or empty string). If value is null, a compound child attribute will be added.