8#ifndef INCLUDED_S_BALTST_MYSEQUENCEWITHNULLABLE
9#define INCLUDED_S_BALTST_MYSEQUENCEWITHNULLABLE
43#include <bslalg_typetraits.h>
59#include <bsl_string.h>
61#include <bsl_iosfwd.h>
62#include <bsl_limits.h>
66namespace bslma {
class Allocator; }
68namespace s_baltst {
class MySequenceWithNullable; }
131#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
132 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
157#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
158 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
175 template<
class MANIPULATOR>
184 template<
class MANIPULATOR>
193 template<
class MANIPULATOR>
219 bsl::ostream&
print(bsl::ostream& stream,
221 int spacesPerLevel = 4)
const;
229 template<
class ACCESSOR>
237 template<
class ACCESSOR>
246 template<
class ACCESSOR>
249 int nameLength)
const;
297template <
class MANIPULATOR>
315template <
class MANIPULATOR>
318 enum { NOT_FOUND = -1 };
332template <
class MANIPULATOR>
334 MANIPULATOR& manipulator,
338 enum { NOT_FOUND = -1 };
342 if (0 == attributeInfo) {
362template <
class ACCESSOR>
380template <
class ACCESSOR>
383 enum { NOT_FOUND = -1 };
397template <
class ACCESSOR>
401 int nameLength)
const
403 enum { NOT_FOUND = -1 };
407 if (0 == attributeInfo) {
444 return !(lhs == rhs);
449 bsl::ostream& stream,
452 return rhs.
print(stream, 0, -1);
Definition bdlb_nullablevalue.h:257
Definition bslma_allocator.h:457
Definition s_baltst_mysequencewithnullable.h:75
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_mysequencewithnullable.h:381
MySequenceWithNullable & operator=(const MySequenceWithNullable &rhs)
Assign to this object the value of the specified rhs object.
@ NUM_ATTRIBUTES
Definition s_baltst_mysequencewithnullable.h:89
MySequenceWithNullable(const MySequenceWithNullable &original, bslma::Allocator *basicAllocator=0)
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_mysequencewithnullable.h:298
int & attribute1()
Definition s_baltst_mysequencewithnullable.h:350
~MySequenceWithNullable()
Destroy this object.
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
bdlb::NullableValue< bsl::string > & attribute2()
Definition s_baltst_mysequencewithnullable.h:356
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_mysequencewithnullable.h:316
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_mysequencewithnullable.h:100
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
@ ATTRIBUTE_ID_ATTRIBUTE2
Definition s_baltst_mysequencewithnullable.h:85
@ ATTRIBUTE_ID_ATTRIBUTE1
Definition s_baltst_mysequencewithnullable.h:84
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_mysequencewithnullable.h:363
@ ATTRIBUTE_INDEX_ATTRIBUTE1
Definition s_baltst_mysequencewithnullable.h:93
@ ATTRIBUTE_INDEX_ATTRIBUTE2
Definition s_baltst_mysequencewithnullable.h:94
static const char CLASS_NAME[]
Definition s_baltst_mysequencewithnullable.h:98
MySequenceWithNullable(bslma::Allocator *basicAllocator=0)
#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