#include <librets/ServerInfoResponse.h>
Public Member Functions | |
| ServerInformationResponse () | |
| Default constructor. | |
| virtual | ~ServerInformationResponse () |
| const StringVector | GetParameters () |
| Returns the parameter names. | |
| std::string | GetResource (std::string parameterName) |
| Returns the resource name of a parameter as a string. | |
| std::string | GetClass (std::string parameterName) |
| Returns the class name of a parameter as a string. | |
| std::string | GetValue (std::string parameterName) |
| Returns the value of a parameter as a string. | |
| void | SetEncoding (EncodingType encoding) |
| Set the data encoding flag to allow for parsing of extended characters by Expat. | |
| EncodingType | GetEncoding () |
| Get the current value for the data encoding flag. | |
| int | GetReplyCode () |
| Returns the RETS-STATUS ReplyCode. | |
| std::string | GetReplyText () |
| Returns the RETS-STATUS ReplyText. | |
Default constructor.
| virtual ~ServerInformationResponse | ( | ) | [virtual] |
| std::string GetClass | ( | std::string | parameterName | ) |
Returns the class name of a parameter as a string.
| parameterName | parameter name |
| EncodingType GetEncoding | ( | ) |
Get the current value for the data encoding flag.
| const StringVector GetParameters | ( | ) |
Returns the parameter names.
| int GetReplyCode | ( | ) |
Returns the RETS-STATUS ReplyCode.
| std::string GetReplyText | ( | ) |
Returns the RETS-STATUS ReplyText.
| std::string GetResource | ( | std::string | parameterName | ) |
Returns the resource name of a parameter as a string.
| parameterName | parameter name |
| std::string GetValue | ( | std::string | parameterName | ) |
Returns the value of a parameter as a string.
| parameterName | parameter name |
| 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. |