lintel 0.2.0
Loading...
Searching...
No Matches
Result.h
Go to the documentation of this file.
1#ifndef LINTEL_SQLITE_RESULT_H
2#define LINTEL_SQLITE_RESULT_H
3
4#include <string>
5#include <vector>
6
8
9namespace lintel {
10namespace sqlite {
14 class Result
15 {
16 private:
17 std::vector<db::Arguments> m_arguments;
18
19 public:
25
32 [[nodiscard]] std::string getValue(int row, int attribute);
33
36
38 [[nodiscard]] int getSize() const;
39
45 [[nodiscard]] db::Arguments &of(std::size_t pos);
46 };
47}// namespace sqlite
48
49}// namespace lintel
50#endif// LINTEL_SQLITE_RESULT_H
Definition Arguments.h:77
Definition Result.h:15
int getNumOfAttributes() const
void add(const db::Arguments &arguments)
std::string getValue(int row, int attribute)
db::Arguments & of(std::size_t pos)
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9