#include <DbXML.hpp>
Inheritance diagram for DbXML::
Public Methods | |
DbXML () | |
DbXML (string &database, string &user_name, string &password) | |
~DbXML () | |
void | connect (const string &database, const string &user_name, const string &password) |
virtual void | disconnect () |
Folder * | getRoot () |
vector< Node *> & | getChildren (Folder &parent) |
Node * | getNode (const string &path) |
Folder * | getFolder (const string &path) |
Bookmark * | getBookmark (const string &path) |
void | remove (Node *node, bool recurse=false) |
void | save (Node *node) |
|
Default constructor. Initialize the SAX XML parser. |
|
Constructor. Connect to the given database. |
|
Destructor. Write all data back to the XBel file. |
|
Open the XBel file and load all items into memory for fast access.
Reimplemented from DB. |
|
Write all data back to the XBel file. Reimplemented from DB. |
|
Reimplemented from DB. |
|
Return all direct children of a specified node.
Reimplemented from DB. |
|
Reimplemented from DB. |
|
Return a node by path. The path must start with a slash.
Reimplemented from DB. |
|
Return the root folder.
Reimplemented from DB. |
|
Reimplemented from DB. |
|
Reimplemented from DB. |