How to create a Table whose index is the index of another table ...

Frank Fock Frank.Fock____t-online.de
Wed May 23 18:15:05 CEST 2001


Hi Niraj,

You will be responsible to create an appropriate index value and then
call the add_row method of table A with
A::add_row("B.1.n");

You can use the add_listener(MibTable*) method to register a table
for update notifications of the receiver table (the table where you
registered).
See http://www.agentpp.com/doc3.x/class_MibTable.html#a42

Best regards,
Frank

Niraj Mansingka wrote:

> Hi frank and all,
>
> I want to add a table(say A) whose index should be the index (say B.1.n) of
> other table (say B). Also is there any functionality such that when I
> delete a row of B it deletes all the rows of A associated with the
> index(B.1.n) of the row deleted.
>
> Can u give pointers to the same.
>
> Thanks in advance,
>
> rgds,
> Niraj
>
> Networks Program (India) Ltd.
> B-1-C, Sector-10, NOIDA 201301 India
> Tel: +91(118) 4536622 xtn 1189, 1044
> http://www.networkprograms.com




More information about the AGENTPP mailing list