#include <librets/LoginResponse.h>
Public Member Functions | |
std::string | GetMemberName () const |
Get the Member's full name. | |
std::string | GetUserInfo () const |
Get the User specific information. | |
std::string | GetBroker () const |
Get the broker code and branch. | |
std::string | GetMetadataVersion () const |
Get the current metadata version. | |
std::string | GetMetadataTimestamp () const |
Get the timestamp of the metadata. | |
std::string | GetMinMetadataTimestamp () const |
Get the minimum metadata timestamp. | |
std::string | GetOfficeList () const |
Get the Office List information. | |
std::string | GetBalance () const |
Get the Accounting Information. | |
std::string | GetTimeout () const |
Get the timeout value. | |
std::string | GetPasswordExpire () const |
Get the password expiration date. | |
std::string | GetActionUrl () const |
Get the RETS "ACTION" URL. | |
std::string | GetChangePasswordUrl () const |
Get the RETS "CHANGE PASSWORD" URL. | |
std::string | GetGetObjectUrl () const |
Get the RETS "GET OBJECT" URL. | |
std::string | GetLoginUrl () const |
Get the RETS "LOGIN" URL. | |
std::string | GetLoginCompleteUrl () const |
Get the RETS "LOGIN COMPLETE" URL. | |
std::string | GetLogoutUrl () const |
Get the RETS "LOGOUT" URL. | |
std::string | GetSearchUrl () const |
Get the RETS "SEARCH" URL. | |
std::string | GetGetMetadataUrl () const |
Get the RETS "METADATA" URL. | |
std::string | GetServerInformationUrl () const |
Get the RETS "SERVER INFORMATION" URL. | |
std::string | GetUpdateUrl () const |
Get the RETS "UPDATE" URL. | |
CapabilityUrlsAPtr | CreateCapabilityUrls (std::string baseUrl) const |
(Internal) Create the CapabilityUrl object with the URLs enumerated. | |
void | Parse (istreamPtr inputStream, RetsVersion retsVersion) |
Parse the input stream, converting the data into keys and values. | |
void | Parse (istreamPtr inputStream, RetsVersion retsVersion, EncodingType encoding) |
Parse the input stream, converting the data into keys and values. | |
std::string | GetValue (std::string key) const |
For a given key, return the associated value. | |
virtual std::ostream & | Print (std::ostream &outputStream) const |
std::string | ToString () const |
virtual bool | Equals (const RetsObject *object) const |
Protected Member Functions | |
RetsXmlTextEventPtr | GetBodyEventFromStandardResponse (RetsXmlEventListPtr eventList) |
RetsXmlTextEventPtr | GetBodyEventFromResponseWithNoRetsResponse (RetsXmlEventListPtr eventList) |
RetsXmlTextEventPtr | GetBodyEventFromShortResponse (RetsXmlEventListPtr eventList) |
virtual void | ParsingFinished () |
Static Protected Member Functions | |
static void | AssertEquals (const std::string &expected, const std::string &actual) |
static void | AssertEquals (int expected, int actual) |
static void | AssertEventListSize (int expected, RetsXmlEventListPtr eventList) |
static void AssertEquals | ( | int | expected, | |
int | actual | |||
) | [static, protected, inherited] |
static void AssertEquals | ( | const std::string & | expected, | |
const std::string & | actual | |||
) | [static, protected, inherited] |
static void AssertEventListSize | ( | int | expected, | |
RetsXmlEventListPtr | eventList | |||
) | [static, protected, inherited] |
CapabilityUrlsAPtr CreateCapabilityUrls | ( | std::string | baseUrl | ) | const |
(Internal) Create the CapabilityUrl object with the URLs enumerated.
baseUrl | A string containing the base URL for the RETS server. |
virtual bool Equals | ( | const RetsObject * | object | ) | const [virtual, inherited] |
std::string GetActionUrl | ( | ) | const |
Get the RETS "ACTION" URL.
std::string GetBalance | ( | ) | const |
Get the Accounting Information.
RetsXmlTextEventPtr GetBodyEventFromResponseWithNoRetsResponse | ( | RetsXmlEventListPtr | eventList | ) | [protected, inherited] |
RetsXmlTextEventPtr GetBodyEventFromShortResponse | ( | RetsXmlEventListPtr | eventList | ) | [protected, inherited] |
RetsXmlTextEventPtr GetBodyEventFromStandardResponse | ( | RetsXmlEventListPtr | eventList | ) | [protected, inherited] |
std::string GetBroker | ( | ) | const |
Get the broker code and branch.
std::string GetChangePasswordUrl | ( | ) | const |
Get the RETS "CHANGE PASSWORD" URL.
std::string GetGetMetadataUrl | ( | ) | const |
Get the RETS "METADATA" URL.
std::string GetGetObjectUrl | ( | ) | const |
Get the RETS "GET OBJECT" URL.
std::string GetLoginCompleteUrl | ( | ) | const |
Get the RETS "LOGIN COMPLETE" URL.
std::string GetLoginUrl | ( | ) | const |
Get the RETS "LOGIN" URL.
std::string GetLogoutUrl | ( | ) | const |
Get the RETS "LOGOUT" URL.
std::string GetMemberName | ( | ) | const |
Get the Member's full name.
std::string GetMetadataTimestamp | ( | ) | const |
Get the timestamp of the metadata.
std::string GetMetadataVersion | ( | ) | const |
Get the current metadata version.
std::string GetMinMetadataTimestamp | ( | ) | const |
Get the minimum metadata timestamp.
std::string GetOfficeList | ( | ) | const |
Get the Office List information.
std::string GetPasswordExpire | ( | ) | const |
Get the password expiration date.
std::string GetSearchUrl | ( | ) | const |
Get the RETS "SEARCH" URL.
std::string GetServerInformationUrl | ( | ) | const |
Get the RETS "SERVER INFORMATION" URL.
This is for RETS 1.7 and later and will return an empty string if it is not implemented.
std::string GetTimeout | ( | ) | const |
Get the timeout value.
std::string GetUpdateUrl | ( | ) | const |
Get the RETS "UPDATE" URL.
std::string GetUserInfo | ( | ) | const |
Get the User specific information.
std::string GetValue | ( | std::string | key | ) | const [inherited] |
For a given key, return the associated value.
If the key is not found and empty string is returned.
key | A string representing the key whose value is to be returned. |
void Parse | ( | istreamPtr | inputStream, | |
RetsVersion | retsVersion, | |||
EncodingType | encoding | |||
) | [inherited] |
Parse the input stream, converting the data into keys and values.
inputStream | A pointer to the input stream. | |
retsVersion | The RETS version. | |
encoding | The character encoding to use when parsing. |
void Parse | ( | istreamPtr | inputStream, | |
RetsVersion | retsVersion | |||
) | [inherited] |
Parse the input stream, converting the data into keys and values.
inputStream | A pointer to the input stream. | |
retsVersion | The RETS version. |
virtual void ParsingFinished | ( | ) | [protected, virtual, inherited] |
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.
std::string ToString | ( | ) | const [inherited] |