Table index

Frank Fock Frank.Fock____t-online.de
Thu May 24 10:55:59 CEST 2001


Hi Dominic,

You may use the following code to determine the length of the entry
OID (base OID):

int oidlen = this->key()->len();

The key() method is defined in the base class MibEntry.

Best regards,
Frank

"Chorafakis, Dominic" wrote:

>
>
> Hi all,
>
> I want to implement some generic table code using MibComplexEntry.  I
> cannot seem to find
> any code in Agent++ that allows a class derived from MibComplexEntry
> to find out how many
> octets of an OID make up the index portion of an entry's OID.  Is
> there a way to do this without
> having to hard code the index length in the derived class implementing
> the table ?
>
> Many thanks,
>
> Dominic




More information about the AGENTPP mailing list