17#ifndef INCLUDED_BMQA_CONFIGUREQUEUESTATUS
18#define INCLUDED_BMQA_CONFIGUREQUEUESTATUS
45#include <bsl_iostream.h>
46#include <bsl_string.h>
47#include <bslma_allocator.h>
48#include <bslma_default.h>
49#include <bslma_usesbslmaallocator.h>
50#include <bslmf_nestedtraitdeclaration.h>
72 bsl::string d_errorDescription;
77 bslma::UsesBslmaAllocator)
87 bslma::Allocator* allocator = 0);
95 bslma::Allocator* allocator = 0);
106 operator bool()
const;
129 print(bsl::ostream& stream,
int level = 0,
int spacesPerLevel = 4)
const;
161: d_queueId(allocator)
162, d_result(bmqt::ConfigureQueueResult::e_SUCCESS)
163, d_errorDescription(allocator)
170 bslma::Allocator* allocator)
171: d_queueId(other.d_queueId, allocator)
172, d_result(other.d_result)
173, d_errorDescription(other.d_errorDescription)
181 const bsl::string& errorDescription,
182 bslma::Allocator* allocator)
183: d_queueId(queueId, allocator)
185, d_errorDescription(errorDescription)
195 d_result = other.
result();
201inline ConfigureQueueStatus::operator bool()
const
201inline ConfigureQueueStatus::operator bool()
const {
…}
218 return d_errorDescription;
227 return rhs.
print(stream, 0, -1);
240 return !(lhs == rhs);
Provide a value-semantic efficient identifier for a queue.
Provide enums for various publicly exposed result code.
Value-semantic efficient identifier for a queue.
Definition bmqa_queueid.h:59
bool operator!=(const CloseQueueStatus &lhs, const CloseQueueStatus &rhs)
Definition bmqa_closequeuestatus.h:240
bool operator==(const CloseQueueStatus &lhs, const CloseQueueStatus &rhs)
Definition bmqa_closequeuestatus.h:233
bsl::ostream & operator<<(bsl::ostream &stream, const CloseQueueStatus &rhs)
Definition bmqa_closequeuestatus.h:227
Definition bmqa_abstractsession.h:42