8#ifndef INCLUDED_S_BALTST_MYSEQUENCEWITHARRAY
9#define INCLUDED_S_BALTST_MYSEQUENCEWITHARRAY
43#include <bslalg_typetraits.h>
57#include <bsl_string.h>
59#include <bsl_vector.h>
61#include <bsl_iosfwd.h>
62#include <bsl_limits.h>
66namespace bslma {
class Allocator; }
68namespace s_baltst {
class MySequenceWithArray; }
131#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
132 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
156#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
157 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
174 template<
class MANIPULATOR>
183 template<
class MANIPULATOR>
192 template<
class MANIPULATOR>
218 bsl::ostream&
print(bsl::ostream& stream,
220 int spacesPerLevel = 4)
const;
228 template<
class ACCESSOR>
236 template<
class ACCESSOR>
245 template<
class ACCESSOR>
248 int nameLength)
const;
296template <
class MANIPULATOR>
314template <
class MANIPULATOR>
317 enum { NOT_FOUND = -1 };
331template <
class MANIPULATOR>
333 MANIPULATOR& manipulator,
337 enum { NOT_FOUND = -1 };
341 if (0 == attributeInfo) {
361template <
class ACCESSOR>
379template <
class ACCESSOR>
382 enum { NOT_FOUND = -1 };
396template <
class ACCESSOR>
400 int nameLength)
const
402 enum { NOT_FOUND = -1 };
406 if (0 == attributeInfo) {
443 return !(lhs == rhs);
448 bsl::ostream& stream,
451 return rhs.
print(stream, 0, -1);
Definition bslstl_vector.h:1025
Definition bslma_allocator.h:457
Definition s_baltst_mysequencewitharray.h:75
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
MySequenceWithArray(bslma::Allocator *basicAllocator=0)
@ ATTRIBUTE_INDEX_ATTRIBUTE2
Definition s_baltst_mysequencewitharray.h:94
@ ATTRIBUTE_INDEX_ATTRIBUTE1
Definition s_baltst_mysequencewitharray.h:93
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_mysequencewitharray.h:297
bsl::vector< bsl::string > & attribute2()
Definition s_baltst_mysequencewitharray.h:355
MySequenceWithArray & operator=(const MySequenceWithArray &rhs)
Assign to this object the value of the specified rhs object.
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_mysequencewitharray.h:315
int & attribute1()
Definition s_baltst_mysequencewitharray.h:349
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_mysequencewitharray.h:100
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
@ ATTRIBUTE_ID_ATTRIBUTE2
Definition s_baltst_mysequencewitharray.h:85
@ ATTRIBUTE_ID_ATTRIBUTE1
Definition s_baltst_mysequencewitharray.h:84
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_mysequencewitharray.h:380
~MySequenceWithArray()
Destroy this object.
MySequenceWithArray(const MySequenceWithArray &original, bslma::Allocator *basicAllocator=0)
static const char CLASS_NAME[]
Definition s_baltst_mysequencewitharray.h:98
@ NUM_ATTRIBUTES
Definition s_baltst_mysequencewitharray.h:89
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_mysequencewitharray.h:362
#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