Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
GeospatialAnalysis
otbPostGISFromStringTransactor.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ORFEO Toolbox
4
Language: C++
5
Date: $Date$
6
Version: $Revision$
7
8
9
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10
See OTBCopyright.txt for details.
11
12
13
This software is distributed WITHOUT ANY WARRANTY; without even
14
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
PURPOSE. See the above copyright notices for more information.
16
17
=========================================================================*/
18
#ifndef __otbPostGISFromStringTransactor_h
19
#define __otbPostGISFromStringTransactor_h
20
21
#include <pqxx/pqxx>
22
#include <string>
23
24
namespace
otb
25
{
26
39
class
PostGISFromStringTransactor
:
40
public
pqxx::transactor<pqxx::nontransaction>
41
{
42
43
public
:
44
45
typedef
pqxx::result
ResultType
;
46
47
typedef
pqxx::transactor<pqxx::nontransaction>
Superclass
;
48
49
PostGISFromStringTransactor
();
50
51
PostGISFromStringTransactor
(
const
PostGISFromStringTransactor
& pgt);
52
53
PostGISFromStringTransactor
&
operator =
(
const
PostGISFromStringTransactor
& pgt)
54
throw
();
55
56
void
operator ()
(pqxx::nontransaction& T);
57
58
void
on_commit
();
59
60
std::string
GetTransactionString
()
const
;
61
62
void
SetTransactionString
(
const
std::string& trans);
63
64
ResultType
GetResult
()
const
;
65
66
protected
:
67
68
ResultType
m_Result
;
69
std::string
m_TransactionString
;
70
};
71
72
}
// end namespace otb
73
74
#endif
Generated at Sun Feb 3 2013 00:42:26 for
Orfeo Toolbox
with
doxygen 1.8.1.1