[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Mibble-users] A question about table
From: |
Rajneesh Watsh |
Subject: |
RE: [Mibble-users] A question about table |
Date: |
Fri, 27 Feb 2004 14:08:09 +0530 |
Hi Wshang,
You can write a member function in the MibNode class
Boolean isTableColumn() {
// get the parent mib node
// getName() of the this node
// if name.indexOf("Entry") - the parent of table column is an
tableEntry node
// then return true;
// else return false;
}
Though the above algorithm should work for all MIBs which follow the
standard MIB conventions (where a table node should have "Table" as a
suffix) its not guaranteed to work for non-conventional mibs.
May be Per can throw some light on how MibbleParser can provide such an
information.
Warm Regards,
Watsh
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
wshang
Sent: Friday, February 27, 2004 1:32 PM
To: mibble users
Subject: [Mibble-users] A question about table
hi,
Is there any way to know if a node is a table item?
For example, in rfc1213 mib ,ifIndex is one of the ifTable item.how can
I know?