Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OutputParameter.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_Output_Parameter_h)
25 #define Safir_Databases_Odbc_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 // Output parameters.
44 typedef Internal::BufferedWideStringParameter<SQL_WVARCHAR, SQL_PARAM_OUTPUT> WideStringOutputParameter ;
45 
46 typedef Internal::BooleanParameter<SQL_PARAM_OUTPUT> BooleanOutputParameter;
47 
48 typedef Internal::TimeParameter<SQL_PARAM_OUTPUT> TimeOutputParameter;
49 
50 typedef Internal::Parameter<SQL_C_FLOAT, SQL_FLOAT, Safir::Dob::Typesystem::Float32,SQL_PARAM_OUTPUT,15> Float32OutputParameter;
51 
52 typedef Internal::Parameter<SQL_C_DOUBLE, SQL_DOUBLE, Safir::Dob::Typesystem::Float64,SQL_PARAM_OUTPUT,15> Float64OutputParameter;
53 
54 typedef Internal::Parameter<SQL_C_SLONG, SQL_INTEGER, Safir::Dob::Typesystem::Int32,SQL_PARAM_OUTPUT,10> Int32OutputParameter;
55 
56 typedef Internal::Parameter<SQL_C_SBIGINT, SQL_BIGINT, Safir::Dob::Typesystem::Int64,SQL_PARAM_OUTPUT,20> Int64OutputParameter;
57 
58 }; // Odbc
59 
60 }; // Databases
61 
62 }; // Safir
63 
64 #endif //Safir_Databases_Odbc_Output_Parameter_h
Internal::Parameter< SQL_C_FLOAT, SQL_FLOAT, Safir::Dob::Typesystem::Float32, SQL_PARAM_OUTPUT, 15 > Float32OutputParameter
Definition: OutputParameter.h:50
Internal::TimeParameter< SQL_PARAM_OUTPUT > TimeOutputParameter
Definition: OutputParameter.h:48
Internal::BooleanParameter< SQL_PARAM_OUTPUT > BooleanOutputParameter
Definition: OutputParameter.h:46
Internal::Parameter< SQL_C_DOUBLE, SQL_DOUBLE, Safir::Dob::Typesystem::Float64, SQL_PARAM_OUTPUT, 15 > Float64OutputParameter
Definition: OutputParameter.h:52
Internal::BufferedWideStringParameter< SQL_WVARCHAR, SQL_PARAM_OUTPUT > WideStringOutputParameter
Definition: OutputParameter.h:44
Internal::Parameter< SQL_C_SLONG, SQL_INTEGER, Safir::Dob::Typesystem::Int32, SQL_PARAM_OUTPUT, 10 > Int32OutputParameter
Definition: OutputParameter.h:54
Internal::Parameter< SQL_C_SBIGINT, SQL_BIGINT, Safir::Dob::Typesystem::Int64, SQL_PARAM_OUTPUT, 20 > Int64OutputParameter
Definition: OutputParameter.h:56