CUBRID Engine
latest
Main Page
Namespaces
Classes
Files
File List
File Members
load_db_value_converter.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2008 Search Solution Corporation
3
* Copyright 2016 CUBRID Corporation
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
/*
20
* load_db_value_converter.hpp - conversion from string to DB_VALUE
21
*/
22
23
#ifndef _LOAD_DB_VALUE_CONVERTER_HPP_
24
#define _LOAD_DB_VALUE_CONVERTER_HPP_
25
26
#include "
dbtype_def.h
"
27
#include "
load_common.hpp
"
28
29
namespace
cubload
30
{
31
// forward declaration
32
class
attribute;
33
34
typedef
int (*
conv_func
) (
const
char
*,
const
size_t,
const
attribute
*,
db_value
*);
35
36
conv_func
&
get_conv_func
(
const
data_type
ldr_type,
const
DB_TYPE
db_type);
37
38
}
// namespace cubload
39
40
#endif
/* _LOAD_DB_VALUE_CONVERTER_HPP_ */
DB_TYPE
DB_TYPE
Definition:
dbtype_def.h:670
db_value
Definition:
dbtype_def.h:1080
cubload::data_type
data_type
Definition:
load_common.hpp:129
cubload::get_conv_func
conv_func & get_conv_func(const data_type ldr_type, const DB_TYPE db_type)
Definition:
load_db_value_converter.cpp:197
cubload
Definition:
load_class_registry.cpp:27
load_common.hpp
dbtype_def.h
cubload::attribute
Definition:
load_class_registry.hpp:37
cubload::conv_func
int(* conv_func)(const char *, const size_t, const attribute *, db_value *)
Definition:
load_db_value_converter.hpp:34
src
loaddb
load_db_value_converter.hpp
Generated by
1.8.11