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
jtie_tconv.hpp
1
/*
2
Copyright 2010 Sun Microsystems, Inc.
3
All rights reserved. Use is subject to license terms.
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; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
/*
19
* jtie_tconv.hpp
20
*/
21
22
#ifndef jtie_tconv_hpp
23
#define jtie_tconv_hpp
24
25
// ---------------------------------------------------------------------------
26
// Java <-> C type conversion trait
27
// ---------------------------------------------------------------------------
28
29
// XXX expand on the documentation of this important class
30
39
// XXX document conversion requirements:
40
// JF_t <-> JA_t conversions by cast<>
41
// JA_t <-> CA_t conversions by Param<>, Target<>, Result<>
42
// CA_t <-> CF_t conversions by assignment
43
//
44
template
<
typename
JFT,
typename
CFT,
typename
JAT = JFT,
typename
CAT = CFT >
45
struct
ttrait
{
46
typedef
JFT JF_t;
// Java formal parameter/result type
47
typedef
JAT JA_t;
// Java actual parameter/result type
48
typedef
CFT CF_t;
// C formal parameter/result type
49
typedef
CAT CA_t;
// C actual parameter/result type
50
51
// XXX pure trait, no data members, still declare c'tor private?
52
};
53
54
// ---------------------------------------------------------------------------
55
56
#endif // jtie_tconv_hpp
storage
ndb
src
ndbjtie
jtie
jtie_tconv.hpp
Generated on Sat Nov 9 2013 01:28:11 for MySQL 5.6.14 Source Code Document by
1.8.1.2