LibreOffice Module connectivity (master)
1
connectivity
source
inc
TResultSetHelper.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#pragma once
21
22
#include <
sal/types.h
>
23
#include <
connectivity/dbtoolsdllapi.hxx
>
24
25
namespace
connectivity
26
{
27
class
OOO_DLLPUBLIC_DBTOOLS
SAL_NO_VTABLE
IResultSetHelper
28
{
29
public
:
30
enum
Movement
31
{
32
NEXT
= 0,
33
PRIOR
,
34
FIRST
,
35
LAST
,
36
// Named like this to avoid conflict with a #define in the Windows system ODBC headers.
37
RELATIVE1
,
38
ABSOLUTE1
,
39
BOOKMARK
,
40
};
41
public
:
42
virtual
bool
move
(
Movement
_eCursorPosition, sal_Int32 _nOffset,
bool
_bRetrieveData) = 0;
43
virtual
sal_Int32
getDriverPos
()
const
= 0;
44
virtual
bool
isRowDeleted
()
const
= 0;
45
46
protected
:
47
~IResultSetHelper
() {}
48
};
49
}
50
51
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
connectivity::IResultSetHelper
Definition:
TResultSetHelper.hxx:28
connectivity::IResultSetHelper::getDriverPos
virtual sal_Int32 getDriverPos() const =0
connectivity::IResultSetHelper::isRowDeleted
virtual bool isRowDeleted() const =0
connectivity::IResultSetHelper::~IResultSetHelper
~IResultSetHelper()
Definition:
TResultSetHelper.hxx:47
connectivity::IResultSetHelper::move
virtual bool move(Movement _eCursorPosition, sal_Int32 _nOffset, bool _bRetrieveData)=0
connectivity::IResultSetHelper::Movement
Movement
Definition:
TResultSetHelper.hxx:31
connectivity::IResultSetHelper::RELATIVE1
@ RELATIVE1
Definition:
TResultSetHelper.hxx:37
connectivity::IResultSetHelper::BOOKMARK
@ BOOKMARK
Definition:
TResultSetHelper.hxx:39
connectivity::IResultSetHelper::ABSOLUTE1
@ ABSOLUTE1
Definition:
TResultSetHelper.hxx:38
connectivity::IResultSetHelper::LAST
@ LAST
Definition:
TResultSetHelper.hxx:35
connectivity::IResultSetHelper::PRIOR
@ PRIOR
Definition:
TResultSetHelper.hxx:33
connectivity::IResultSetHelper::FIRST
@ FIRST
Definition:
TResultSetHelper.hxx:34
dbtoolsdllapi.hxx
OOO_DLLPUBLIC_DBTOOLS
#define OOO_DLLPUBLIC_DBTOOLS
Definition:
dbtoolsdllapi.hxx:30
connectivity
NEXT
NEXT
types.h
SAL_NO_VTABLE
#define SAL_NO_VTABLE
Generated on Sun Jul 30 2023 04:42:04 for LibreOffice Module connectivity (master) by
1.9.3