Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InputOutputParameter.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * Copyright Saab AB, 2005-2013 (http://safir.sourceforge.net)
4 *
5 * Created by: Jörgen Johansson / stjrjo
6 *
7 *******************************************************************************
8 *
9 * This file is part of Safir SDK Core.
10 *
11 * Safir SDK Core is free software: you can redistribute it and/or modify
12 * it under the terms of version 3 of the GNU General Public License as
13 * published by the Free Software Foundation.
14 *
15 * Safir SDK Core is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with Safir SDK Core. If not, see <http://www.gnu.org/licenses/>.
22 *
23 ******************************************************************************/
24 #if !defined(Safir_Databases_Odbc_Input_Output_Parameter_h)
25 #define Safir_Databases_Odbc_Input_Output_Parameter_h
26 
29 #include "Safir/Databases/Odbc/Internal/InternalDefs.h"
30 #include "Safir/Databases/Odbc/Internal/Parameter.h"
31 #include "Safir/Databases/Odbc/Internal/BufferedWideStringParameter.h"
32 #include "Safir/Databases/Odbc/Internal/NonBufferedWideStringParameter.h"
33 
34 namespace Safir
35 {
36 namespace Databases
37 {
38 namespace Odbc
39 {
40 
42 // InputOutput parameters.
44 typedef Internal::BufferedWideStringParameter<SQL_WVARCHAR, SQL_PARAM_INPUT_OUTPUT> WideStringInputOutputParameter;
45 
46 typedef Internal::BooleanParameter<SQL_PARAM_INPUT_OUTPUT> BooleanInputOutputParameter;
47 
48 typedef Internal::Parameter<SQL_C_FLOAT, SQL_FLOAT, Safir::Dob::Typesystem::Float32,SQL_PARAM_INPUT_OUTPUT,15> Float32InputOutputParameter;
49 
50 typedef Internal::Parameter<SQL_C_DOUBLE, SQL_DOUBLE, Safir::Dob::Typesystem::Float64,SQL_PARAM_INPUT_OUTPUT,15> Float64InputOutputParameter;
51 
52 typedef Internal::Parameter<SQL_C_SLONG, SQL_INTEGER, Safir::Dob::Typesystem::Int32,SQL_PARAM_INPUT_OUTPUT,10> Int32InputOutputParameter;
53 
54 typedef Internal::Parameter<SQL_C_SBIGINT, SQL_BIGINT, Safir::Dob::Typesystem::Int64,SQL_PARAM_INPUT_OUTPUT,20> Int64InputOutputParameter;
55 
56 typedef Internal::TimeParameter<SQL_PARAM_INPUT_OUTPUT> TimeInputOutputParameter;
57 
58 }; // Odbc
59 
60 }; // Databases
61 
62 }; // Safir
63 
64 #endif //Safir_Databases_Odbc_Input_Output_Parameter_h
Internal::BooleanParameter< SQL_PARAM_INPUT_OUTPUT > BooleanInputOutputParameter
Definition: InputOutputParameter.h:46
Internal::Parameter< SQL_C_DOUBLE, SQL_DOUBLE, Safir::Dob::Typesystem::Float64, SQL_PARAM_INPUT_OUTPUT, 15 > Float64InputOutputParameter
Definition: InputOutputParameter.h:50
Internal::Parameter< SQL_C_FLOAT, SQL_FLOAT, Safir::Dob::Typesystem::Float32, SQL_PARAM_INPUT_OUTPUT, 15 > Float32InputOutputParameter
Definition: InputOutputParameter.h:48
Internal::TimeParameter< SQL_PARAM_INPUT_OUTPUT > TimeInputOutputParameter
Definition: InputOutputParameter.h:56
Internal::Parameter< SQL_C_SLONG, SQL_INTEGER, Safir::Dob::Typesystem::Int32, SQL_PARAM_INPUT_OUTPUT, 10 > Int32InputOutputParameter
Definition: InputOutputParameter.h:52
Internal::BufferedWideStringParameter< SQL_WVARCHAR, SQL_PARAM_INPUT_OUTPUT > WideStringInputOutputParameter
Definition: InputOutputParameter.h:44
Internal::Parameter< SQL_C_SBIGINT, SQL_BIGINT, Safir::Dob::Typesystem::Int64, SQL_PARAM_INPUT_OUTPUT, 20 > Int64InputOutputParameter
Definition: InputOutputParameter.h:54