[AGENT++] find_index

Jochen Katz katz at agentpp.com
Sun Sep 4 15:02:34 CEST 2005


Hi,

if you add a row using add_row() you have to pass the same argument to
find_index() in order to get the row. Just look at the result of
get_next_avail_index() to see what agent++ defines as index part.

Regards,
  Jochen

Ram Rathan wrote:
> 	DynamicTable* dt = new DynamicTable("1.3.6.1.4.1.4976.6",
> 					    indDynamicTable, 1);

> Thus the Index portion is 1.3.6.1.4.1.4976.6.2 and the instances are the
> rows 0 etc..

> Using the above model, when I use the 1.3.6.1.4.1.4976.6.2 within
> find_index it does NOT find the row.



More information about the AGENTPP mailing list