Home
Download
API Documentation
Development
src
query
results.h
1
/*
2
* <one line to give the program's name and a brief idea of what it does.>
3
* Copyright (C) 2023 Jose F Rivas C <josefelixrc7@gmail.com>
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef NAF_QUERY_RESULTS
20
#define NAF_QUERY_RESULTS
21
22
23
#include <vector>
24
25
#include "query/row.h"
26
27
28
namespace
NAF
29
{
30
namespace
Query
31
{
32
class
Results;
33
}
34
}
35
36
37
class
NAF::Query::Results
:
public
std::vector<Row::Ptr>
38
{
39
public
:
40
using
Ptr = std::shared_ptr<Results>;
41
42
Results
();
43
44
Field::Ptr FindField_(
Field::Position
& field_position);
45
Row::Ptr AddRow_();
46
};
47
48
#endif
// NAF_QUERY_RESULTS
NAF::Query::Results
Definition:
results.h:38
NAF::Query::Field::Position
Definition:
field.h:43