8#ifndef INCLUDED_S_BALTST_MYSIMPLEINTCONTENT
9#define INCLUDED_S_BALTST_MYSIMPLEINTCONTENT
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 MySimpleIntContent; }
134#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
135 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
159#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
160 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
177 template<
class MANIPULATOR>
186 template<
class MANIPULATOR>
195 template<
class MANIPULATOR>
225 bsl::ostream&
print(bsl::ostream& stream,
227 int spacesPerLevel = 4)
const;
235 template<
class ACCESSOR>
243 template<
class ACCESSOR>
252 template<
class ACCESSOR>
255 int nameLength)
const;
307template <
class MANIPULATOR>
330template <
class MANIPULATOR>
333 enum { NOT_FOUND = -1 };
350template <
class MANIPULATOR>
352 MANIPULATOR& manipulator,
356 enum { NOT_FOUND = -1 };
360 if (0 == attributeInfo) {
386template <
class ACCESSOR>
409template <
class ACCESSOR>
412 enum { NOT_FOUND = -1 };
429template <
class ACCESSOR>
433 int nameLength)
const
435 enum { NOT_FOUND = -1 };
439 if (0 == attributeInfo) {
483 return !(lhs == rhs);
488 bsl::ostream& stream,
491 return rhs.
print(stream, 0, -1);
Definition bdlb_nullablevalue.h:257
Definition bslma_allocator.h:457
Definition s_baltst_mysimpleintcontent.h:75
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
static const char CLASS_NAME[]
Definition s_baltst_mysimpleintcontent.h:101
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_mysimpleintcontent.h:331
MySimpleIntContent & operator=(const MySimpleIntContent &rhs)
Assign to this object the value of the specified rhs object.
~MySimpleIntContent()
Destroy this object.
@ NUM_ATTRIBUTES
Definition s_baltst_mysimpleintcontent.h:91
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_mysimpleintcontent.h:103
bdlb::NullableValue< bsl::string > & attribute2()
Definition s_baltst_mysimpleintcontent.h:374
int & theContent()
Definition s_baltst_mysimpleintcontent.h:380
@ ATTRIBUTE_INDEX_ATTRIBUTE2
Definition s_baltst_mysimpleintcontent.h:96
@ ATTRIBUTE_INDEX_THE_CONTENT
Definition s_baltst_mysimpleintcontent.h:97
@ ATTRIBUTE_INDEX_ATTRIBUTE1
Definition s_baltst_mysimpleintcontent.h:95
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_mysimpleintcontent.h:308
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_mysimpleintcontent.h:387
bdlb::NullableValue< bool > & attribute1()
Definition s_baltst_mysimpleintcontent.h:368
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_mysimpleintcontent.h:410
MySimpleIntContent(const MySimpleIntContent &original, bslma::Allocator *basicAllocator=0)
@ ATTRIBUTE_ID_ATTRIBUTE2
Definition s_baltst_mysimpleintcontent.h:86
@ ATTRIBUTE_ID_ATTRIBUTE1
Definition s_baltst_mysimpleintcontent.h:85
@ ATTRIBUTE_ID_THE_CONTENT
Definition s_baltst_mysimpleintcontent.h:87
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
MySimpleIntContent(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