8#ifndef INCLUDED_S_BALTST_MYSIMPLECONTENT
9#define INCLUDED_S_BALTST_MYSIMPLECONTENT
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 MySimpleContent; }
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;
308template <
class MANIPULATOR>
331template <
class MANIPULATOR>
334 enum { NOT_FOUND = -1 };
351template <
class MANIPULATOR>
353 MANIPULATOR& manipulator,
357 enum { NOT_FOUND = -1 };
361 if (0 == attributeInfo) {
387template <
class ACCESSOR>
410template <
class ACCESSOR>
413 enum { NOT_FOUND = -1 };
430template <
class ACCESSOR>
434 int nameLength)
const
436 enum { NOT_FOUND = -1 };
440 if (0 == attributeInfo) {
484 return !(lhs == rhs);
489 bsl::ostream& stream,
492 return rhs.
print(stream, 0, -1);
Definition bdlb_nullablevalue.h:257
Definition bslstl_string.h:1281
Definition bslma_allocator.h:457
Definition s_baltst_mysimplecontent.h:75
static const char CLASS_NAME[]
Definition s_baltst_mysimplecontent.h:101
bdlb::NullableValue< bool > & attribute1()
Definition s_baltst_mysimplecontent.h:369
@ ATTRIBUTE_ID_ATTRIBUTE2
Definition s_baltst_mysimplecontent.h:86
@ ATTRIBUTE_ID_THE_CONTENT
Definition s_baltst_mysimplecontent.h:87
@ ATTRIBUTE_ID_ATTRIBUTE1
Definition s_baltst_mysimplecontent.h:85
~MySimpleContent()
Destroy this object.
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
bsl::string & theContent()
Definition s_baltst_mysimplecontent.h:381
int accessAttribute(ACCESSOR &accessor, int id) const
Definition s_baltst_mysimplecontent.h:411
@ ATTRIBUTE_INDEX_ATTRIBUTE1
Definition s_baltst_mysimplecontent.h:95
@ ATTRIBUTE_INDEX_THE_CONTENT
Definition s_baltst_mysimplecontent.h:97
@ ATTRIBUTE_INDEX_ATTRIBUTE2
Definition s_baltst_mysimplecontent.h:96
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
int manipulateAttribute(MANIPULATOR &manipulator, int id)
Definition s_baltst_mysimplecontent.h:332
int manipulateAttributes(MANIPULATOR &manipulator)
Definition s_baltst_mysimplecontent.h:309
@ NUM_ATTRIBUTES
Definition s_baltst_mysimplecontent.h:91
MySimpleContent & operator=(const MySimpleContent &rhs)
Assign to this object the value of the specified rhs object.
bdlb::NullableValue< bsl::string > & attribute2()
Definition s_baltst_mysimplecontent.h:375
MySimpleContent(bslma::Allocator *basicAllocator=0)
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_mysimplecontent.h:103
MySimpleContent(const MySimpleContent &original, bslma::Allocator *basicAllocator=0)
int accessAttributes(ACCESSOR &accessor) const
Definition s_baltst_mysimplecontent.h:388
#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