#include <librets/UpdateResponse.h>
Public Member Functions | |
UpdateResponse () | |
Default constructor. | |
virtual | ~UpdateResponse () |
const StringVector | GetColumns () |
Returns the column names. | |
EncodingType | GetEncoding () |
Get the current value for the data encoding flag. | |
std::string | GetErrorFieldName () |
Get the field name of the current error. | |
int | GetErrorNumber () |
Get the error number for the current error. | |
int | GetErrorOffset () |
Get the offset of the error. | |
std::string | GetErrorText () |
Get the text associated with the error. | |
int | GetReplyCode () |
Returns the RETS-STATUS ReplyCode. | |
std::string | GetReplyText () |
Returns the RETS-STATUS ReplyText. | |
std::string | GetString (int columnIndex) |
Returns the value of a column as a string. | |
std::string | GetString (std::string columnName) |
Returns the value of a column as a string. | |
std::string | GetWarningFieldName () |
Get the field name of the current warning. | |
int | GetWarningNumber () |
Get the error number for the current warning. | |
int | GetWarningOffset () |
Get the offset of the warning. | |
int | GetWarningResponseRequired () |
Get the response required indicator. | |
std::string | GetWarningText () |
Get the text associated with the warning. | |
bool | HasNext () |
Returns true if there are more results. | |
bool | HasNextError () |
Returns true if there are more results. | |
bool | HasNextWarning () |
Returns true if there are more results. | |
void | Parse (istreamPtr inputStream) |
Parse the result sent back from the client. | |
void | SetEncoding (EncodingType encoding) |
Set the data encoding flag to allow for parsing of extended characters by Expat. | |
void | SetInputStream (istreamPtr inputStream) |
Set the input stream for Parse. | |
virtual std::ostream & | Print (std::ostream &outputStream) const |
std::string | ToString () const |
virtual bool | Equals (const RetsObject *object) const |
UpdateResponse | ( | ) |
Default constructor.
virtual ~UpdateResponse | ( | ) | [virtual] |
virtual bool Equals | ( | const RetsObject * | object | ) | const [virtual, inherited] |
const StringVector GetColumns | ( | ) |
Returns the column names.
EncodingType GetEncoding | ( | ) |
Get the current value for the data encoding flag.
std::string GetErrorFieldName | ( | ) |
Get the field name of the current error.
int GetErrorNumber | ( | ) |
Get the error number for the current error.
int GetErrorOffset | ( | ) |
Get the offset of the error.
std::string GetErrorText | ( | ) |
Get the text associated with the error.
int GetReplyCode | ( | ) |
Returns the RETS-STATUS ReplyCode.
std::string GetReplyText | ( | ) |
Returns the RETS-STATUS ReplyText.
std::string GetString | ( | std::string | columnName | ) |
Returns the value of a column as a string.
columnName | column name |
std::string GetString | ( | int | columnIndex | ) |
Returns the value of a column as a string.
columnIndex | column index |
std::string GetWarningFieldName | ( | ) |
Get the field name of the current warning.
int GetWarningNumber | ( | ) |
Get the error number for the current warning.
int GetWarningOffset | ( | ) |
Get the offset of the warning.
int GetWarningResponseRequired | ( | ) |
Get the response required indicator.
std::string GetWarningText | ( | ) |
Get the text associated with the warning.
bool HasNext | ( | ) |
Returns true if there are more results.
This may block waiting for data from the RETS server.
HasNext() has the side effect of incrementing the result set to the next result. After an update, this must be called before you can access the first result row.
bool HasNextError | ( | ) |
Returns true if there are more results.
This may block waiting for data from the RETS server.
HasNext() has the side effect of incrementing the result set to the next result. After an update, this must be called before you can access the first result row.
bool HasNextWarning | ( | ) |
Returns true if there are more results.
This may block waiting for data from the RETS server.
HasNext() has the side effect of incrementing the result set to the next result. After an update, this must be called before you can access the first result row.
void Parse | ( | istreamPtr | inputStream | ) |
Parse the result sent back from the client.
inputStream | The input stream containing the data to be parsed. |
RetsReplyException |
virtual std::ostream& Print | ( | std::ostream & | outputStream | ) | const [virtual, inherited] |
Reimplemented in CapabilityUrls, DefaultMetadataCollector, DmqlQuery, FieldCriterion, GetObjectQuery, JunctionCriterion, LiteralCriterion, LookupCriterion, MetadataElement, NotCriterion, RetsXmlAttribute, RetsXmlEndDocumentEvent, RetsXmlEndElementEvent, RetsXmlStartElementEvent, RetsXmlTextEvent, and Uri.
void SetEncoding | ( | EncodingType | encoding | ) |
Set the data encoding flag to allow for parsing of extended characters by Expat.
RETS is officially US-ASCII, but this will allow a work around for servers that haven't properly sanitized their data.
encoding | Either RETS_XML_DEFAULT_ENCODING, RETS_XML_ISO_ENCODING or RETS_XML_UTF8_ENCODING. |
void SetInputStream | ( | istreamPtr | inputStream | ) |
Set the input stream for Parse.
inputStream | Input Stream |
std::string ToString | ( | ) | const [inherited] |