GnuCash
5.6-150-g038405b370+
|
Public Member Functions | |
QofXmlBackendProvider (const char *name, const char *type) | |
QofXmlBackendProvider (QofXmlBackendProvider &)=delete | |
QofXmlBackendProvider | operator= (QofXmlBackendProvider &)=delete |
QofXmlBackendProvider (QofXmlBackendProvider &&)=delete | |
QofXmlBackendProvider | operator= (QofXmlBackendProvider &&)=delete |
QofBackend * | create_backend (void) |
Return a new, fully initialized backend. More... | |
bool | type_check (const char *type) |
Distinguish two providers with same access method. More... | |
Public Member Functions inherited from QofBackendProvider | |
QofBackendProvider (const char *name, const char *type) | |
QofBackendProvider (QofBackendProvider &)=delete | |
QofBackendProvider (QofBackendProvider &&)=delete | |
Additional Inherited Members | |
Data Fields inherited from QofBackendProvider | |
const char * | provider_name |
Some arbitrary name given for this particular backend provider. | |
const char * | access_method |
The access method that this provider provides, for example, file:// http:// postgres:// or sqlite://, but without the :// at the end. | |
Definition at line 100 of file gnc-backend-xml.cpp.
|
inlinevirtual |
Return a new, fully initialized backend.
If the backend supports configuration, all configuration options should be initialised to usable values here.
Implements QofBackendProvider.
Definition at line 109 of file gnc-backend-xml.cpp.
|
virtual |
Distinguish two providers with same access method.
More than 1 backend can be registered under the same access_method, so each one is passed the path to the data (e.g. a file) and should return TRUE only:
if the path contains no data but can be used (e.g. a new session).
Implements QofBackendProvider.
Definition at line 115 of file gnc-backend-xml.cpp.