AGENT++  4.0.3
Public Member Functions | List of all members
MibConfigFormat Class Referenceabstract

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

Public Member Functions

virtual ~MibConfigFormat ()
 
virtual bool save (MibContext *, const NS_SNMP OctetStr &)=0
 Stores the persistent data in the supplied MibContext to disk.
 
virtual bool 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 ( )
inlinevirtual

Member Function Documentation

virtual MibConfigFormat* MibConfigFormat::clone ( )
pure virtual

Clone this format (needed by ArrayList template).

Implemented in MibConfigBER.

virtual bool MibConfigFormat::load ( MibContext ,
const NS_SNMP OctetStr &   
)
pure virtual

Loads the persistent data in the supplied MibContext from disk.

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

Implemented in MibConfigBER.

virtual bool MibConfigFormat::save ( MibContext ,
const NS_SNMP OctetStr &   
)
pure virtual

Stores the persistent data in the supplied MibContext to disk.

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

Implemented in MibConfigBER.


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