Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
GeospatialAnalysis
otbPostGISQueryTransactor.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 __otbPostGISQueryTransactor_h
19
#define __otbPostGISQueryTransactor_h
20
21
//#include <pqxx/pqxx>
22
#include <string>
23
24
#include "
otbPostGISFromStringTransactor.h
"
25
26
namespace
otb
27
{
28
41
class
PostGISQueryTransactor
:
42
public
otb::PostGISFromStringTransactor
43
{
44
45
public
:
46
47
typedef
PostGISFromStringTransactor
Superclass
;
48
//typedef pqxx::transactor<pqxx::nontransaction> Superclass;
49
//typedef pqxx::result ResultType;
50
PostGISQueryTransactor
();
51
52
PostGISQueryTransactor
(
const
PostGISQueryTransactor
& pgt);
53
54
PostGISQueryTransactor
&
operator =
(
const
PostGISQueryTransactor
& pgt)
55
throw
();
56
57
void
operator ()
(pqxx::nontransaction& T);
58
59
void
SetRemoveExistingView
(
bool
val);
60
61
bool
GetRemoveExistingView
()
const
;
62
63
void
SetViewName
(
const
std::string& aName);
64
65
std::string
GetViewName
()
const
;
66
67
//void CreateView(pqxx::nontransaction &T);
68
69
protected
:
70
std::string
m_ViewName
;
71
bool
m_RemoveExistingView
;
72
};
73
74
}
// end namespace otb
75
76
#endif
Generated at Sun Feb 3 2013 00:42:26 for
Orfeo Toolbox
with
doxygen 1.8.1.1