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
 
Returns:
The OID of the Extended Operation that has returned this result.

const std::string & getResponse () const
 
Returns:
If the result contained data this method will return the data to the caller as a std::string.


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.

LDAPExtResult::~LDAPExtResult (  )  [virtual]

The Destructor.


Member Function Documentation

const string & LDAPExtResult::getResponseOid (  )  const

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

const string & LDAPExtResult::getResponse (  )  const

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


Member Data Documentation

std::string LDAPExtResult::m_oid [private]

std::string LDAPExtResult::m_data [private]


The documentation for this class was generated from the following files:
Generated on Sat Sep 22 10:21:53 2007 for ldapsdk by  doxygen 1.5.3