Debea Library 1.4.2

DbUpdateScriptsParser Class Reference
[Public API]

SQL update scripts parser interface for DbUpdate More...

#include <dbupdatescriptparser.h>

List of all members.


Public Member Functions

virtual std::string getNextQuery ()=0
 Get next query from script sets.
virtual std::string getToVersion ()=0
 Get current version string to which database should be updated.
virtual bool isEof ()=0
 Check if there is more queries to send.
virtual void prepareScriptsList ()
 Called by DbUpdate when scripts list should be prepared for fetching using getNextQuery.
virtual void setFromVersion (const std::string &pVersion)=0
 Narrow query set to all queries needed to update database from given version.
virtual void setToVersion (const std::string &pVersion)=0
 Narrow query set to all queries needed to update database to given version.

Detailed Description

SQL update scripts parser interface for DbUpdate

Member Function Documentation

virtual bool isEof (  )  [pure virtual]

Check if there is more queries to send.

Returns:
true if there are more queries to send, false otherwise

virtual void setFromVersion ( const std::string &  pVersion  )  [pure virtual]

Narrow query set to all queries needed to update database from given version.

Parameters:
pVersion version string to which queries should be returned

virtual void setToVersion ( const std::string &  pVersion  )  [pure virtual]

Narrow query set to all queries needed to update database to given version.

Parameters:
pVersion version string to which queries should be returned


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

Documentation
Quick start
Examples

API Documentation
Class hierarchy
Member index
API Reference
Store filters
Store table macros
Back

Generated by doxygen at Fri Oct 22 23:15:44 2010