Backend Class Reference
Backend: Virtual class for different types of backends.
More...
#include <Backend.h>
List of all members.
|
Public Member Functions |
|
| Backend () |
| | Constructor.
|
|
virtual | ~Backend () |
| | Destructor.
|
|
virtual void | listSessions (std::vector< std::string > &list)=0 |
| | Return a list of the available sessions.
|
|
virtual bool | listVersions (std::vector< uint32 > &list, const std::string &session)=0 |
| | Return a list of versions for a session.
|
|
virtual std::istream & | getInputStream (const UserState *userState, const std::string &filename)=0 |
| | Get an input stream for a given user state and filename.
|
|
virtual std::istream & | getInputStream (const std::string &session, uint32 version, const std::string &filename)=0 |
| | Get an input stream for a desired session, version and filename.
|
|
virtual std::ostream & | getOutputStream (const UserState *userState, const std::string &filename)=0 |
| | Get an output stream for a given user state and filename.
|
|
virtual std::ostream & | getOutputStream (const std::string &session, uint32 version, const std::string &filename)=0 |
| | Get an output stream for a desired session, version and filename.
|
Detailed Description
Backend: Virtual class for different types of backends.
-
File - stores different versions in different files
-
Subversion - Uses subversion
The documentation for this class was generated from the following file: