databases::DBRemove Class Reference

Database removal interface. More...

#include <database.h>

Inheritance diagram for databases::DBRemove:

modules::ErrorInterface modules::Interface

List of all members.

Public Member Functions

virtual bool remove (std::string const &database)=0
 Removes a database.
virtual bool clear ()=0
 Removes all databases.

Static Public Attributes

static
modules::PSIID const 
iid = 0x43f0f5f3
 The interface identifier.


Detailed Description

This interface may be implemented by database modules to allow for safe removal of databases.

This interface must be exposed through the Module::factory() function.


Member Function Documentation

virtual bool databases::DBRemove::remove ( std::string const &  database  )  [pure virtual]

Removes a database.

Parameters:
[in] database The name of the database to remove.
Returns:
true if the database could be removed, false otherwise.

virtual bool databases::DBRemove::clear (  )  [pure virtual]

Removes all databases.

Returns:
true if successful, false otherwise.


The documentation for this class was generated from the following file:
Generated on Fri Apr 18 22:03:28 2008 for Epona API by  doxygen 1.5.3