MibConfigFormat Class Reference

The MibConfigFormat is a pure virtual class that defines the interface for configuration formats that can be used to load and store persistent Mib data. More...

#include <mib.h>

Inheritance diagram for MibConfigFormat:

MibConfigBER

List of all members.

Public Member Functions

virtual ~MibConfigFormat ()
virtual boolean save (MibContext *, const NS_SNMP OctetStr &)=0
 Stores the persistent data in the supplied MibContext to disk.
virtual boolean load (MibContext *, const NS_SNMP OctetStr &)=0
 Loads the persistent data in the supplied MibContext from disk.
virtual MibConfigFormatclone ()=0
 Clone this format (needed by ArrayList template).


Detailed Description

The MibConfigFormat is a pure virtual class that defines the interface for configuration formats that can be used to load and store persistent Mib data.

Version:
3.5.22c
Since:
3.5.22

Constructor & Destructor Documentation

virtual MibConfigFormat::~MibConfigFormat (  )  [inline, virtual]


Member Function Documentation

virtual boolean MibConfigFormat::save ( MibContext ,
const NS_SNMP OctetStr &   
) [pure virtual]

Stores the persistent data in the supplied MibContext to disk.

Parameters:
context a pointer to the MibContext to store.
path the storage path to use.
Returns:
TRUE if the contents could be saved successfully, FALSE otherwise.

Implemented in MibConfigBER.

virtual boolean MibConfigFormat::load ( MibContext ,
const NS_SNMP OctetStr &   
) [pure virtual]

Loads the persistent data in the supplied MibContext from disk.

Parameters:
context a pointer to the MibContext to load.
path the storage path to use.
Returns:
TRUE if the contents could be saved successfully, FALSE otherwise.

Implemented in MibConfigBER.

virtual MibConfigFormat* MibConfigFormat::clone (  )  [pure virtual]

Clone this format (needed by ArrayList template).

Implemented in MibConfigBER.


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

Generated on Fri May 29 22:36:54 2009 for AGENT++ by  doxygen 1.5.6