Yate
Public Member Functions
AsnMibTree Class Reference

#include <yateasn.h>

Inheritance diagram for AsnMibTree:
GenObject

List of all members.

Public Member Functions

 AsnMibTree ()
 AsnMibTree (const String &fileName)
virtual ~AsnMibTree ()
AsnMibfind (const ASNObjId &id)
AsnMibfind (const String &name)
AsnMibfindNext (const ASNObjId &id)
int getAccess (const ASNObjId &oid)
void buildTree ()
String findRevision (const String &name)

Detailed Description

Tree of OIDs.


Constructor & Destructor Documentation

AsnMibTree ( ) [inline]

Constructor

AsnMibTree ( const String fileName)

Constructor

Parameters:
fileNameFile from which the tree is to be built
virtual ~AsnMibTree ( ) [virtual]

Destructor


Member Function Documentation

void buildTree ( )

Build the tree of MIB objects

AsnMib* find ( const ASNObjId id)

Find a MIB object given the object id

Parameters:
idThe object id
Returns:
A pointer to the MIB with the searched object id, 0 if not found
AsnMib* find ( const String name)

Find a MIB given the MIB name

Parameters:
nameThe name of the MIB object
Returns:
A pointer to the MIB with the searched object id, 0 if not found
AsnMib* findNext ( const ASNObjId id)

Find the next MIB object in the tree

Parameters:
idObject id of the current MIB object
Returns:
A pointer to the next MIB object in the tree, 0 if there is no next
String findRevision ( const String name)

Find the module revision of which this OID is part of

Parameters:
nameName of the OID
Returns:
String value of the module revision
int getAccess ( const ASNObjId oid)

Get access level for the given object id

Parameters:
oidObject id for which the access level is required
Returns:
Enum value describing the access level required for this object

The documentation for this class was generated from the following file: