LDAPExtResult Class Reference

Object of this class are created by the LDAPMsg::create method if results for an Extended Operation were returned by a LDAP server. More...

#include <LDAPExtResult.h>

Inheritance diagram for LDAPExtResult:

LDAPResult LDAPMsg

List of all members.

Public Member Functions

 LDAPExtResult (const LDAPRequest *req, LDAPMessage *msg)
 Constructor that creates an LDAPExtResult-object from the C-API structures.
virtual ~LDAPExtResult ()
 The Destructor.
const std::string & getResponseOid () const
const std::string & getResponse () const

Private Attributes

std::string m_oid
std::string m_data


Detailed Description

Object of this class are created by the LDAPMsg::create method if results for an Extended Operation were returned by a LDAP server.

Constructor & Destructor Documentation

LDAPExtResult::LDAPExtResult ( const LDAPRequest req,
LDAPMessage *  msg 
)

Constructor that creates an LDAPExtResult-object from the C-API structures.

References DEBUG, LDAPRequest::getConnection(), LDAPAsynConnection::getSessionHandle(), LDAP_DEBUG_CONSTRUCT, m_data, and m_oid.

LDAPExtResult::~LDAPExtResult (  )  [virtual]

The Destructor.

References DEBUG, and LDAP_DEBUG_DESTROY.


Member Function Documentation

const string & LDAPExtResult::getResponse (  )  const

Returns:
If the result contained data this method will return the data to the caller as a std::string.

References m_data.

const string & LDAPExtResult::getResponseOid (  )  const

Returns:
The OID of the Extended Operation that has returned this result.

References m_oid.


Member Data Documentation

std::string LDAPExtResult::m_data [private]

Referenced by getResponse(), and LDAPExtResult().

std::string LDAPExtResult::m_oid [private]

Referenced by getResponseOid(), and LDAPExtResult().


The documentation for this class was generated from the following files:

doxygen