8#ifndef INCLUDED_S_BALTST_SIMPLEREQUEST
9#define INCLUDED_S_BALTST_SIMPLEREQUEST
43#include <bslalg_typetraits.h>
57#include <bsl_string.h>
59#include <bsl_iosfwd.h>
60#include <bsl_limits.h>
64namespace bslma {
class Allocator; }
66namespace s_baltst {
class SimpleRequest; }
129#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
130 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
154#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
155 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
172 template<
class MANIPULATOR>
181 template<
class MANIPULATOR>
190 template<
class MANIPULATOR>
216 bsl::ostream&
print(bsl::ostream& stream,
218 int spacesPerLevel = 4)
const;
226 template<
class ACCESSOR>
234 template<
class ACCESSOR>
243 template<
class ACCESSOR>
246 int nameLength)
const;
294template <
class MANIPULATOR>
312template <
class MANIPULATOR>
315 enum { NOT_FOUND = -1 };
329template <
class MANIPULATOR>
331 MANIPULATOR& manipulator,
335 enum { NOT_FOUND = -1 };
339 if (0 == attributeInfo) {
355 return d_responseLength;
359template <
class ACCESSOR>
377template <
class ACCESSOR>
380 enum { NOT_FOUND = -1 };
394template <
class ACCESSOR>
398 int nameLength)
const
400 enum { NOT_FOUND = -1 };
404 if (0 == attributeInfo) {
420 return d_responseLength;
441 return !(lhs == rhs);
446 bsl::ostream& stream,
449 return rhs.
print(stream, 0, -1);
Definition bslstl_string.h:1281
Definition bslma_allocator.h:457
Definition s_baltst_simplerequest.h:73
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_simplerequest.h:360
SimpleRequest(const SimpleRequest &original, bslma::Allocator *basicAllocator=0)
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_simplerequest.h:378
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
SimpleRequest & operator=(const SimpleRequest &rhs)
Assign to this object the value of the specified rhs object.
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
static const char CLASS_NAME[]
Definition s_baltst_simplerequest.h:96
int & responseLength()
Definition s_baltst_simplerequest.h:353
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_simplerequest.h:295
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_simplerequest.h:98
~SimpleRequest()
Destroy this object.
bsl::string & data()
Definition s_baltst_simplerequest.h:347
@ ATTRIBUTE_INDEX_DATA
Definition s_baltst_simplerequest.h:91
@ ATTRIBUTE_INDEX_RESPONSE_LENGTH
Definition s_baltst_simplerequest.h:92
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_simplerequest.h:313
SimpleRequest(bslma::Allocator *basicAllocator=0)
@ ATTRIBUTE_ID_DATA
Definition s_baltst_simplerequest.h:82
@ ATTRIBUTE_ID_RESPONSE_LENGTH
Definition s_baltst_simplerequest.h:83
@ NUM_ATTRIBUTES
Definition s_baltst_simplerequest.h:87
#define BDLAT_DECL_SEQUENCE_WITH_ALLOCATOR_BITWISEMOVEABLE_TRAITS(ClassName)
Definition bdlat_typetraits.h:282
#define BSLS_IDENT_RCSID(tag, str)
Definition bsls_ident.h:260
#define BSLS_IDENT_PRAGMA_ONCE
Definition bsls_ident.h:310
Definition balxml_encoderoptions.h:68
Definition s_baltst_address.h:66
bool operator!=(const Address &lhs, const Address &rhs)
bool operator==(const Address &lhs, const Address &rhs)
bsl::ostream & operator<<(bsl::ostream &stream, const Address &rhs)
Definition bdlat_attributeinfo.h:137
int d_id
Definition bdlat_attributeinfo.h:140