Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

mdfs::MDFSDBBase Class Reference

Base classe for remote file structure storing. More...

#include <mdfsdbbase.h>

Inheritance diagram for mdfs::MDFSDBBase:

mdfs::MDFSDB mdfs::MDFSDB List of all members.

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.


Detailed Description

Base classe for remote file structure storing.

Author:
Mickael Faivre-Macon


Member Enumeration Documentation

enum mdfs::MDFSDBBase::MUpdateOptions
 

Enumeration values:
uoNONE 
uoADDPARENTS 


Constructor & Destructor Documentation

mdfs::MDFSDBBase::MDFSDBBase  )  [inline]
 

virtual mdfs::MDFSDBBase::~MDFSDBBase  )  [inline, virtual]
 


Member Function Documentation

virtual bool mdfs::MDFSDBBase::GetFile MFile f,
int  options = 0
[pure virtual]
 

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.

virtual void mdfs::MDFSDBBase::GetList MQuery q,
MFileList list
[pure virtual]
 

Constructs a list of MFile.

Parameters:
q Query, See MQuery
list return value, the list is not cleared

Implemented in mdfs::MDFSDB, and mdfs::MDFSDB.

virtual bool mdfs::MDFSDBBase::UpdateFile const MFile f,
int  options = 0
[pure virtual]
 

Update the file information in the db (real db, memory, or whatever).

Implemented in mdfs::MDFSDB, and mdfs::MDFSDB.


The documentation for this class was generated from the following file:


MDFS SourceForge project page and download

SourceForge.net Logo

Generated on Sat Jan 3 03:14:20 2004 for MDFS by doxygen1.3.5