8#ifndef INCLUDED_S_BALTST_UNSIGNEDSEQUENCE
9#define INCLUDED_S_BALTST_UNSIGNEDSEQUENCE
43#include <bslalg_typetraits.h>
57#include <bsl_iosfwd.h>
58#include <bsl_limits.h>
62namespace s_baltst {
class UnsignedSequence; }
73 unsigned int d_element1;
74 unsigned short d_element2;
132 template <
typename t_MANIPULATOR>
141 template <
typename t_MANIPULATOR>
150 template <
typename t_MANIPULATOR>
181 bsl::ostream&
print(bsl::ostream& stream,
183 int spacesPerLevel = 4)
const;
191 template <
typename t_ACCESSOR>
199 template <
typename t_ACCESSOR>
208 template <
typename t_ACCESSOR>
211 int nameLength)
const;
230 return lhs.element1() == rhs.element1() &&
231 lhs.element2() == rhs.element2() &&
232 lhs.element3() == rhs.element3();
239 return !(lhs == rhs);
247 return rhs.print(stream, 0, -1);
271template <
typename t_MANIPULATOR>
294template <
typename t_MANIPULATOR>
297 enum { NOT_FOUND = -1 };
314template <
typename t_MANIPULATOR>
316 t_MANIPULATOR& manipulator,
320 enum { NOT_FOUND = -1 };
324 if (0 == attributeInfo) {
350template <
typename t_ACCESSOR>
373template <
typename t_ACCESSOR>
376 enum { NOT_FOUND = -1 };
393template <
typename t_ACCESSOR>
395 t_ACCESSOR& accessor,
397 int nameLength)
const
399 enum { NOT_FOUND = -1 };
403 if (0 == attributeInfo) {
Definition s_baltst_unsignedsequence.h:69
int accessAttribute(t_ACCESSOR &accessor, int id) const
Definition s_baltst_unsignedsequence.h:374
unsigned int & element1()
Definition s_baltst_unsignedsequence.h:332
int manipulateAttribute(t_MANIPULATOR &manipulator, int id)
Definition s_baltst_unsignedsequence.h:295
friend bool operator!=(const UnsignedSequence &lhs, const UnsignedSequence &rhs)
Returns !(lhs == rhs)
Definition s_baltst_unsignedsequence.h:236
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
@ NUM_ATTRIBUTES
Definition s_baltst_unsignedsequence.h:85
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
int accessAttributes(t_ACCESSOR &accessor) const
Definition s_baltst_unsignedsequence.h:351
static const char CLASS_NAME[]
Definition s_baltst_unsignedsequence.h:95
@ ATTRIBUTE_ID_ELEMENT3
Definition s_baltst_unsignedsequence.h:81
@ ATTRIBUTE_ID_ELEMENT2
Definition s_baltst_unsignedsequence.h:80
@ ATTRIBUTE_ID_ELEMENT1
Definition s_baltst_unsignedsequence.h:79
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_unsignedsequence.h:97
int manipulateAttributes(t_MANIPULATOR &manipulator)
Definition s_baltst_unsignedsequence.h:272
@ ATTRIBUTE_INDEX_ELEMENT3
Definition s_baltst_unsignedsequence.h:91
@ ATTRIBUTE_INDEX_ELEMENT1
Definition s_baltst_unsignedsequence.h:89
@ ATTRIBUTE_INDEX_ELEMENT2
Definition s_baltst_unsignedsequence.h:90
unsigned short & element2()
Definition s_baltst_unsignedsequence.h:338
friend bool operator==(const UnsignedSequence &lhs, const UnsignedSequence &rhs)
Definition s_baltst_unsignedsequence.h:227
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
bsls::Types::Uint64 & element3()
Definition s_baltst_unsignedsequence.h:344
friend bsl::ostream & operator<<(bsl::ostream &stream, const UnsignedSequence &rhs)
Definition s_baltst_unsignedsequence.h:244
#define BDLAT_DECL_SEQUENCE_WITH_BITWISEMOVEABLE_TRAITS(ClassName)
Definition bdlat_typetraits.h:294
#define BSLS_IDENT_RCSID(tag, str)
BSLS_IDENT_RCSID() - insert ident str (specific to platform/compiler)
Definition bsls_ident.h:244
#define BSLS_IDENT_PRAGMA_ONCE
BSLS_IDENT_PRAGMA_ONCE - macro to avoid multiple inclusion
Definition bsls_ident.h:263
Definition s_baltst_address.h:66
Definition bdlat_attributeinfo.h:139
int d_id
Definition bdlat_attributeinfo.h:142
Definition bdlat_typetraits.h:146
unsigned long long Uint64
Definition bsls_types.h:139