#include <weiStorage.h>
Public Types | |
enum | Operation { mask = 0xff } |
Public Member Functions | |
iweStorage (void *handle=NULL) | |
virtual | ~iweStorage (void) |
virtual void * | GetInterface (const string &ifName) |
Gets an interface. | |
virtual char ** | GetIcon () |
Gets the icon. | |
virtual const string | InterfaceName () |
Gets the final Interface name. | |
virtual WeStringList | InterfaceList () |
Gets the list of supported Interfaces. | |
virtual string | GenerateID (string objType="") |
virtual int | Query (const string &objType, Operation op, const string &xmlData) |
virtual int | Report (const string &repType, const string &xmlData, string &result) |
virtual int | Delete (const string &objType, const string &xmlData) |
virtual int | TaskSave (const string &xmlData, Operation op=iweStorage::autoop) |
virtual int | DictionarySave (const string &xmlData, Operation op=iweStorage::autoop) |
virtual int | AuthorizationSave (const string &xmlData, Operation op=iweStorage::autoop) |
virtual int | SystemOptionsSave (const string &xmlData, Operation op=iweStorage::autoop) |
virtual int | TaskReport (const string &xmlData, string &result) |
virtual int | DictionaryReport (const string &xmlData, string &result) |
virtual int | AuthorizationReport (const string &xmlData, string &result) |
virtual int | SystemOptionsReport (const string &xmlData, string &result) |
Static Public Attributes | |
static const Operation | insert = (Operation)0x01 |
static const Operation | update = (Operation)0x02 |
static const Operation | remove = (Operation)0x03 |
static const Operation | autoop = (Operation)0xff |
Static Protected Attributes | |
static int | lastId = 0 |
Definition at line 34 of file weiStorage.h.
iweStorage::iweStorage | ( | void * | handle = NULL |
) |
Definition at line 82 of file weiStorage.cpp.
iweStorage::~iweStorage | ( | void | ) | [virtual] |
Definition at line 87 of file weiStorage.cpp.
int iweStorage::AuthorizationReport | ( | const string & | xmlData, | |
string & | result | |||
) | [virtual] |
int iweStorage::AuthorizationSave | ( | const string & | xmlData, | |
Operation | op = iweStorage::autoop | |||
) | [virtual] |
int iweStorage::Delete | ( | const string & | objType, | |
const string & | xmlData | |||
) | [virtual] |
int iweStorage::DictionaryReport | ( | const string & | xmlData, | |
string & | result | |||
) | [virtual] |
int iweStorage::DictionarySave | ( | const string & | xmlData, | |
Operation | op = iweStorage::autoop | |||
) | [virtual] |
std::string iweStorage::GenerateID | ( | string | objType = "" |
) | [virtual] |
Definition at line 121 of file weiStorage.cpp.
char ** iweStorage::GetIcon | ( | ) | [virtual] |
Gets the icon.
Returns pointer to the array of chars, that represents image in the XPM format. This image may be used to identify the plugin in GUI.
null | if no icon, else the icon. |
Implements iwePlugin.
Definition at line 104 of file weiStorage.cpp.
void * iweStorage::GetInterface | ( | const string & | ifName | ) | [virtual] |
Gets an interface.
Returns abstracted pointer to the requested interface, or NULL if the requested interface isn't provided by this object. The interface name depends on the plugin implementation.
ifName | - Name of the interface. |
null | if it fails, else the interface. |
Implements iwePlugin.
Implemented in WeMemStorage.
Definition at line 91 of file weiStorage.cpp.
WeStringList iweStorage::InterfaceList | ( | ) | [virtual] |
Gets the list of supported Interfaces.
strings | list. |
Implements iwePlugin.
Implemented in WeMemStorage.
Definition at line 114 of file weiStorage.cpp.
const string iweStorage::InterfaceName | ( | ) | [virtual] |
Gets the final Interface name.
string. |
Implements iwePlugin.
Implemented in WeMemStorage.
Definition at line 109 of file weiStorage.cpp.
int iweStorage::Query | ( | const string & | objType, | |
Operation | op, | |||
const string & | xmlData | |||
) | [virtual] |
int iweStorage::Report | ( | const string & | repType, | |
const string & | xmlData, | |||
string & | result | |||
) | [virtual] |
int iweStorage::SystemOptionsReport | ( | const string & | xmlData, | |
string & | result | |||
) | [virtual] |
int iweStorage::SystemOptionsSave | ( | const string & | xmlData, | |
Operation | op = iweStorage::autoop | |||
) | [virtual] |
int iweStorage::TaskReport | ( | const string & | xmlData, | |
string & | result | |||
) | [virtual] |
int iweStorage::TaskSave | ( | const string & | xmlData, | |
Operation | op = iweStorage::autoop | |||
) | [virtual] |
const Operation iweStorage::autoop = (Operation)0xff [static] |
Definition at line 52 of file weiStorage.h.
const Operation iweStorage::insert = (Operation)0x01 [static] |
Definition at line 49 of file weiStorage.h.
int iweStorage::lastId = 0 [static, protected] |
Definition at line 72 of file weiStorage.h.
const Operation iweStorage::remove = (Operation)0x03 [static] |
Definition at line 51 of file weiStorage.h.
const Operation iweStorage::update = (Operation)0x02 [static] |
Definition at line 50 of file weiStorage.h.
©2009 Positive Technologies |
Generated on Tue Jul 14 18:27:31 2009 for WebEngine by |
|
1.5.7 |
|