8#ifndef INCLUDED_S_BALTST_MYSEQUENCEWITHNILLABLES
9#define INCLUDED_S_BALTST_MYSEQUENCEWITHNILLABLES
43#include <bslalg_typetraits.h>
59#include <bsl_string.h>
63#include <bsl_iosfwd.h>
64#include <bsl_limits.h>
68namespace bslma {
class Allocator; }
70namespace s_baltst {
class MySequenceWithNillables; }
136#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
137 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
162#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
163 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
180 template<
class MANIPULATOR>
189 template<
class MANIPULATOR>
198 template<
class MANIPULATOR>
228 bsl::ostream&
print(bsl::ostream& stream,
230 int spacesPerLevel = 4)
const;
238 template<
class ACCESSOR>
246 template<
class ACCESSOR>
255 template<
class ACCESSOR>
258 int nameLength)
const;
311template <
class MANIPULATOR>
334template <
class MANIPULATOR>
337 enum { NOT_FOUND = -1 };
354template <
class MANIPULATOR>
356 MANIPULATOR& manipulator,
360 enum { NOT_FOUND = -1 };
364 if (0 == attributeInfo) {
390template <
class ACCESSOR>
413template <
class ACCESSOR>
416 enum { NOT_FOUND = -1 };
433template <
class ACCESSOR>
437 int nameLength)
const
439 enum { NOT_FOUND = -1 };
443 if (0 == attributeInfo) {
487 return !(lhs == rhs);
492 bsl::ostream& stream,
495 return rhs.
print(stream, 0, -1);
Definition bdlb_nullablevalue.h:257
Definition bslma_allocator.h:457
Definition s_baltst_mysequencewithnillables.h:77
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_mysequencewithnillables.h:335
@ NUM_ATTRIBUTES
Definition s_baltst_mysequencewithnillables.h:93
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_mysequencewithnillables.h:391
bdlb::NullableValue< int > & attribute1()
Definition s_baltst_mysequencewithnillables.h:372
MySequenceWithNillables(bslma::Allocator *basicAllocator=0)
MySequenceWithNillables(const MySequenceWithNillables &original, bslma::Allocator *basicAllocator=0)
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_mysequencewithnillables.h:312
bdlb::NullableValue< bsl::string > & attribute2()
Definition s_baltst_mysequencewithnillables.h:378
MySequenceWithNillables & operator=(const MySequenceWithNillables &rhs)
Assign to this object the value of the specified rhs object.
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_mysequencewithnillables.h:105
@ ATTRIBUTE_ID_ATTRIBUTE3
Definition s_baltst_mysequencewithnillables.h:89
@ ATTRIBUTE_ID_ATTRIBUTE1
Definition s_baltst_mysequencewithnillables.h:87
@ ATTRIBUTE_ID_ATTRIBUTE2
Definition s_baltst_mysequencewithnillables.h:88
@ ATTRIBUTE_INDEX_ATTRIBUTE1
Definition s_baltst_mysequencewithnillables.h:97
@ ATTRIBUTE_INDEX_ATTRIBUTE3
Definition s_baltst_mysequencewithnillables.h:99
@ ATTRIBUTE_INDEX_ATTRIBUTE2
Definition s_baltst_mysequencewithnillables.h:98
static const char CLASS_NAME[]
Definition s_baltst_mysequencewithnillables.h:103
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_mysequencewithnillables.h:414
bdlb::NullableValue< s_baltst::MySequence > & attribute3()
Definition s_baltst_mysequencewithnillables.h:384
~MySequenceWithNillables()
Destroy this object.
#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