MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
NDBT_ResultRow.hpp
1
/*
2
Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; version 2 of the License.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
*/
17
18
#ifndef NDBT_RESULTROW_HPP
19
#define NDBT_RESULTROW_HPP
20
21
#include <NdbApi.hpp>
22
23
class
NDBT_ResultRow
{
24
public
:
25
NDBT_ResultRow
(
const
NdbDictionary::Table
&tab,
char
attrib_delimiter=
'\t'
);
26
~
NDBT_ResultRow
();
27
NdbRecAttr
* & attributeStore(
int
i
);
28
const
NdbRecAttr
* attributeStore(
int
i)
const
;
29
const
NdbRecAttr
* attributeStore(
const
char
*
name
)
const
;
30
31
BaseString
c_str()
const
;
32
33
NdbOut & header (NdbOut &)
const
;
34
friend
NdbOut & operator << (NdbOut&,
const
NDBT_ResultRow
&);
35
39
NDBT_ResultRow
*
clone
()
const
;
40
41
bool
operator==(
const
NDBT_ResultRow
&)
const
;
42
bool
operator!=(
const
NDBT_ResultRow
& other)
const
{
43
return
! (*
this
== other);
44
}
45
46
const
NdbDictionary::Table
& getTable()
const
{
return
m_table;}
47
48
private
:
49
int
cols;
50
char
**names;
51
NdbRecAttr
**data;
52
char
ad[2];
53
54
bool
m_ownData;
55
const
NdbDictionary::Table
& m_table;
56
57
NDBT_ResultRow
(
const
NDBT_ResultRow
&);
58
NDBT_ResultRow
& operator=(
const
NDBT_ResultRow
&);
59
};
60
61
62
63
64
#endif
storage
ndb
test
include
NDBT_ResultRow.hpp
Generated on Sat Nov 9 2013 01:28:18 for MySQL 5.6.14 Source Code Document by
1.8.1.2