header

SQLRowset Class Reference

#include <SQLRowset.h>

Inheritance diagram for SQLRowset:

SQLAccess MDSoapClient List of all members.

Public Member Functions

 ~SQLRowset ()
 SQLRowset (const std::string &host, int port, std::string &path, const std::string &configFile, bool keep_alive=false, bool dbg=false)
int GetTuples (GetTuplesRequest *req, GetTuplesResponse **res)
int FetchWRS (GetTuplesResponse *seRes, WebRowSet **wrs)
int GetUpdateCount (SQLExecuteResponse *seRes, int &updateCount)
int MakeGetTuplesRequest (std::string &dran, std::string &uri, int position, int count, GetTuplesRequest **req)
int SimpleExecuteRowset (std::string dran, int position, int count, const std::string uri="")
int GetSQLRowsetPropertyDocument (GetSQLRowsetPropertyDocumentRequest *req, GetSQLRowsetPropertyDocumentResponse **res)
int MakeGetSQLRowsetPropertyDocumentRequest (std::string &dran, GetSQLRowsetPropertyDocumentRequest **req)
void PrintSQLRowsetPropertyDocument (GetSQLRowsetPropertyDocumentResponse *res)
int SimpleRowsetPropertyDocument (std::string &dran)

Detailed Description

Definition at line 32 of file SQLRowset.h.


Constructor & Destructor Documentation

SQLRowset::~SQLRowset (  ) 

SQLRowset::SQLRowset ( const std::string &  host,
int  port,
std::string &  path,
const std::string &  configFile,
bool  keep_alive = false,
bool  dbg = false 
)

Definition at line 23 of file SQLRowset.cpp.


Member Function Documentation

int SQLRowset::FetchWRS ( GetTuplesResponse seRes,
WebRowSet **  wrs 
)

Definition at line 140 of file SQLRowset.cpp.

References MDSoapClient::errorMsg, and SOAP_DATA_FAULT.

Referenced by SimpleExecuteRowset().

int SQLRowset::GetSQLRowsetPropertyDocument ( GetSQLRowsetPropertyDocumentRequest req,
GetSQLRowsetPropertyDocumentResponse **  res 
)

Definition at line 29 of file SQLRowset.cpp.

References MDSoapClient::access_end_point, MDSoapClient::errorMsg, MDSoapClient::setUser(), and MDSoapClient::soap.

Referenced by SimpleRowsetPropertyDocument().

int SQLRowset::GetTuples ( GetTuplesRequest req,
GetTuplesResponse **  res 
)

Definition at line 62 of file SQLRowset.cpp.

References MDSoapClient::access_end_point, MDSoapClient::errorMsg, MDSoapClient::setUser(), and MDSoapClient::soap.

Referenced by SimpleExecuteRowset().

int SQLRowset::GetUpdateCount ( SQLExecuteResponse seRes,
int &  updateCount 
)

Reimplemented from SQLAccess.

int SQLRowset::MakeGetSQLRowsetPropertyDocumentRequest ( std::string &  dran,
GetSQLRowsetPropertyDocumentRequest **  req 
)

Definition at line 47 of file SQLRowset.cpp.

References MDSoapClient::soap.

Referenced by SimpleRowsetPropertyDocument().

int SQLRowset::MakeGetTuplesRequest ( std::string &  dran,
std::string &  uri,
int  position,
int  count,
GetTuplesRequest **  req 
)

Definition at line 155 of file SQLRowset.cpp.

References MDSoapClient::soap, and WRS_FORMAT_URI.

Referenced by SimpleExecuteRowset().

void SQLRowset::PrintSQLRowsetPropertyDocument ( GetSQLRowsetPropertyDocumentResponse res  ) 

Definition at line 79 of file SQLRowset.cpp.

Referenced by SimpleRowsetPropertyDocument().

int SQLRowset::SimpleExecuteRowset ( std::string  dran,
int  position,
int  count,
const std::string  uri = "" 
)

Definition at line 184 of file SQLRowset.cpp.

References _SELECT, MDSoapClient::errorMsg, FetchWRS(), GetTuples(), MakeGetTuplesRequest(), and SQLAccess::PrintWRS().

int SQLRowset::SimpleRowsetPropertyDocument ( std::string &  dran  ) 

Definition at line 112 of file SQLRowset.cpp.

References MDSoapClient::errorMsg, GetSQLRowsetPropertyDocument(), MakeGetSQLRowsetPropertyDocumentRequest(), SQLAccess::PrintPropertyDocument(), and PrintSQLRowsetPropertyDocument().


The documentation for this class was generated from the following files:
Generated on Mon Apr 16 13:59:23 2012 for AMGA by  doxygen 1.4.7