Ema_Model_Attr_Print()
Abstract
Prints the contents of a single model attribute onto the standard output device.
Syntax
Ema_Model_Attr_Print (model_id, attr_name)
| Argument | Type | Description |
|---|---|---|
model_id |
EmaT_Model_Id |
numeric model ID of the model-of-interest [This value is a numeric identifier that references a model. Use the functions Ema_Model_Create(), Ema_Model_Copy(), or Ema_Model_Read() to obtain a model ID.] |
attr_name |
char* |
name of the attribute-of-interest [The names of all model attributes are listed in the final section of this chapter.] |
Return Type
void
No return value.
Header
ema.h
Details
Example output from this function appears below:
--------------------------------------------------------
* Attr Index: 0
* Attr Name: view subnet
* Attr Type: set-required string
* Attr Defcon: no default contents
* Attr Contents: 3
--------------------------------------------------------