8#ifndef INCLUDED_S_BALTST_MYSEQUENCEWITHPRECISIONDECIMALATTRIBUTE
9#define INCLUDED_S_BALTST_MYSEQUENCEWITHPRECISIONDECIMALATTRIBUTE
12BSLS_IDENT_RCSID(s_baltst_mysequencewithprecisiondecimalattribute_h,
"$Id$ $CSID$")
43#include <bslalg_typetraits.h>
59#include <bsl_iosfwd.h>
60#include <bsl_limits.h>
64namespace s_baltst {
class MySequenceWithPrecisionDecimalAttribute; }
128 template <
typename t_MANIPULATOR>
137 template <
typename t_MANIPULATOR>
146 template <
typename t_MANIPULATOR>
169 bsl::ostream&
print(bsl::ostream& stream,
171 int spacesPerLevel = 4)
const;
179 template <
typename t_ACCESSOR>
187 template <
typename t_ACCESSOR>
196 template <
typename t_ACCESSOR>
199 int nameLength)
const;
213 return lhs.attribute1() == rhs.attribute1();
220 return !(lhs == rhs);
226 bsl::ostream& stream,
229 return rhs.print(stream, 0, -1);
253template <
typename t_MANIPULATOR>
266template <
typename t_MANIPULATOR>
269 enum { NOT_FOUND = -1 };
280template <
typename t_MANIPULATOR>
282 t_MANIPULATOR& manipulator,
286 enum { NOT_FOUND = -1 };
290 if (0 == attributeInfo) {
304template <
typename t_ACCESSOR>
317template <
typename t_ACCESSOR>
320 enum { NOT_FOUND = -1 };
331template <
typename t_ACCESSOR>
333 t_ACCESSOR& accessor,
335 int nameLength)
const
337 enum { NOT_FOUND = -1 };
341 if (0 == attributeInfo) {
Definition bdlb_nullablevalue.h:262
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:71
int accessAttributes(t_ACCESSOR &accessor) const
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:305
@ NUM_ATTRIBUTES
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:83
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
@ ATTRIBUTE_INDEX_ATTRIBUTE1
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:87
static const char CLASS_NAME[]
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:91
friend bsl::ostream & operator<<(bsl::ostream &stream, const MySequenceWithPrecisionDecimalAttribute &rhs)
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:225
int accessAttribute(t_ACCESSOR &accessor, int id) const
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:318
bdlb::NullableValue< bdldfp::Decimal64 > & attribute1()
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:298
friend bool operator!=(const MySequenceWithPrecisionDecimalAttribute &lhs, const MySequenceWithPrecisionDecimalAttribute &rhs)
Returns !(lhs == rhs)
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:217
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:93
friend bool operator==(const MySequenceWithPrecisionDecimalAttribute &lhs, const MySequenceWithPrecisionDecimalAttribute &rhs)
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:210
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
int manipulateAttribute(t_MANIPULATOR &manipulator, int id)
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:267
MySequenceWithPrecisionDecimalAttribute()
@ ATTRIBUTE_ID_ATTRIBUTE1
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:79
int manipulateAttributes(t_MANIPULATOR &manipulator)
Definition s_baltst_mysequencewithprecisiondecimalattribute.h:254
#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