WORM 0.2
A C++ DAL/ORM code generation framework

src/sql/drivers/wsqliteresult.h

Go to the documentation of this file.
00001 /*
00002     WORM - a DAL/ORM code generation framework
00003     Copyright (C) 2011  Erik Winn <erikwinnmail@yahoo.com>
00004 
00005     This program is free software: you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation, either version 3 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017 */
00018 
00019 
00020 #ifndef WSQLITERESULT_H
00021 #define WSQLITERESULT_H
00022 
00023 #include "wsqlresult.h"
00024 
00025 namespace WSql {
00026 
00027 class WSqliteDriver;
00028 
00029 class WSqliteResult : public WSqlResult
00030 {
00031 
00032 public:
00033     WSqliteResult(const WSqliteDriver* driver);
00034 //    WSqliteResult(const WSqliteResult& other);
00035 /*    ~WSqliteResult();
00036     WSqliteResult& operator=(const WSqliteResult& other);
00037     bool operator==(const WSqliteResult& other) const;*/
00038 /*
00039     int size()const {return _records.size(); }
00040     int count()const {return size(); }
00041     bool hasOutValues() const { return ! _records.empty(); }    
00042     void clear(){ _records.clear(); }
00043 */
00044 //     WSqlRecord current();
00045 //     WSqlRecord fetch(int i = -1) ;
00046 //     WSqlRecord fetchNext();
00047 //     WSqlRecord fetchPrevious();
00048 //     WSqlRecord fetchFirst();
00049 //     WSqlRecord fetchLast();
00050 // 
00051 //     bool seek(int i, bool relative = false);
00052 //     bool next();
00053 //     bool previous();
00054 //     bool first();
00055 //     bool last();
00056 
00057 };
00058 
00059 }//namespace WSql
00060 
00061 #endif // WSQLITERESULT_H
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Defines