#include <mdfsdbbase.h>
Inheritance diagram for mdfs::MDFSDBBase:
Public Types | |
enum | MUpdateOptions { uoNONE = 0, uoADDPARENTS = 1 } |
Public Member Functions | |
MDFSDBBase () | |
virtual | ~MDFSDBBase () |
virtual bool | UpdateFile (const MFile &f, int options=0)=0 |
Update the file information in the db (real db, memory, or whatever). | |
virtual bool | GetFile (MFile &f, int options=0)=0 |
Get the file information from the db (real db, memory, or whatever) at least one info (URL,MD5) must be set, since the result is based on one of these. | |
virtual void | GetList (MQuery &q, MFileList &list)=0 |
Constructs a list of MFile. |
|
|
|
|
|
|
|
Get the file information from the db (real db, memory, or whatever) at least one info (URL,MD5) must be set, since the result is based on one of these.
Implemented in mdfs::MDFSDB. |
|
Constructs a list of MFile.
Implemented in mdfs::MDFSDB, and mdfs::MDFSDB. |
|
Update the file information in the db (real db, memory, or whatever).
Implemented in mdfs::MDFSDB, and mdfs::MDFSDB. |