![]() |
Orfeo Toolbox
3.16
|
PQXX-based transactor for executing PostGIS queries. More...
#include <otbPostGISFromStringTransactor.h>
Inheritance diagram for otb::PostGISFromStringTransactor:
Collaboration diagram for otb::PostGISFromStringTransactor:Public Types | |
| typedef pqxx::result | ResultType |
| typedef pqxx::transactor < pqxx::nontransaction > | Superclass |
Public Member Functions | |
| PostGISFromStringTransactor () | |
| PostGISFromStringTransactor (const PostGISFromStringTransactor &pgt) | |
| ResultType | GetResult () const |
| std::string | GetTransactionString () const |
| void | on_commit () |
| void | operator() (pqxx::nontransaction &T) |
| PostGISFromStringTransactor & | operator= (const PostGISFromStringTransactor &pgt) throw () |
| void | SetTransactionString (const std::string &trans) |
Protected Attributes | |
| ResultType | m_Result |
| std::string | m_TransactionString |
PQXX-based transactor for executing PostGIS queries.
The copy constructor and the "=" operator have to be defined for deep copy, so that libpqxx is able to get the values set for the class variables.
Definition at line 39 of file otbPostGISFromStringTransactor.h.
| typedef pqxx::result otb::PostGISFromStringTransactor::ResultType |
Definition at line 45 of file otbPostGISFromStringTransactor.h.
| typedef pqxx::transactor<pqxx::nontransaction> otb::PostGISFromStringTransactor::Superclass |
Reimplemented in otb::PostGISQueryTransactor.
Definition at line 47 of file otbPostGISFromStringTransactor.h.
| otb::PostGISFromStringTransactor::PostGISFromStringTransactor | ( | ) |
Definition at line 25 of file otbPostGISFromStringTransactor.cxx.
References m_TransactionString.
| otb::PostGISFromStringTransactor::PostGISFromStringTransactor | ( | const PostGISFromStringTransactor & | pgt | ) |
Definition at line 31 of file otbPostGISFromStringTransactor.cxx.
References GetTransactionString(), and m_TransactionString.
| PostGISFromStringTransactor::ResultType otb::PostGISFromStringTransactor::GetResult | ( | void | ) | const |
Definition at line 72 of file otbPostGISFromStringTransactor.cxx.
References m_Result.
| std::string otb::PostGISFromStringTransactor::GetTransactionString | ( | ) | const |
Definition at line 62 of file otbPostGISFromStringTransactor.cxx.
References m_TransactionString.
Referenced by operator=(), otb::PostGISQueryTransactor::operator=(), PostGISFromStringTransactor(), and otb::PostGISQueryTransactor::PostGISQueryTransactor().
| void otb::PostGISFromStringTransactor::on_commit | ( | ) |
Definition at line 57 of file otbPostGISFromStringTransactor.cxx.
References m_TransactionString, and otbMsgDevMacro.
| void otb::PostGISFromStringTransactor::operator() | ( | pqxx::nontransaction & | T | ) |
Reimplemented in otb::PostGISQueryTransactor.
Definition at line 44 of file otbPostGISFromStringTransactor.cxx.
References m_Result, m_TransactionString, and otbGenericMsgDebugMacro.
| PostGISFromStringTransactor & otb::PostGISFromStringTransactor::operator= | ( | const PostGISFromStringTransactor & | pgt | ) | throw () |
Definition at line 37 of file otbPostGISFromStringTransactor.cxx.
References GetTransactionString().
| void otb::PostGISFromStringTransactor::SetTransactionString | ( | const std::string & | trans | ) |
Definition at line 67 of file otbPostGISFromStringTransactor.cxx.
References m_TransactionString.
Referenced by otb::PostGISTable< TConnectionImplementation, TPrecision, TSpatialDimension >::getGeometryType(), and otb::PostGISTable< TConnectionImplementation, TPrecision, TSpatialDimension >::InsertGeometries().
|
protected |
Definition at line 68 of file otbPostGISFromStringTransactor.h.
Referenced by GetResult(), operator()(), and otb::PostGISQueryTransactor::operator()().
|
protected |
Definition at line 69 of file otbPostGISFromStringTransactor.h.
Referenced by GetTransactionString(), on_commit(), operator()(), otb::PostGISQueryTransactor::operator()(), PostGISFromStringTransactor(), otb::PostGISQueryTransactor::PostGISQueryTransactor(), and SetTransactionString().