8#ifndef INCLUDED_S_BALTST_SQRT
9#define INCLUDED_S_BALTST_SQRT
43#include <bslalg_typetraits.h>
55#include <bsl_iosfwd.h>
56#include <bsl_limits.h>
126 template <
typename t_MANIPULATOR>
135 template <
typename t_MANIPULATOR>
144 template <
typename t_MANIPULATOR>
167 bsl::ostream&
print(bsl::ostream& stream,
169 int spacesPerLevel = 4)
const;
177 template <
typename t_ACCESSOR>
185 template <
typename t_ACCESSOR>
194 template <
typename t_ACCESSOR>
197 int nameLength)
const;
200 double value()
const;
209 return lhs.value() == rhs.value();
215 return !(lhs == rhs);
222 return rhs.print(stream, 0, -1);
246template <
typename t_MANIPULATOR>
259template <
typename t_MANIPULATOR>
262 enum { NOT_FOUND = -1 };
273template <
typename t_MANIPULATOR>
275 t_MANIPULATOR& manipulator,
279 enum { NOT_FOUND = -1 };
283 if (0 == attributeInfo) {
297template <
typename t_ACCESSOR>
310template <
typename t_ACCESSOR>
313 enum { NOT_FOUND = -1 };
324template <
typename t_ACCESSOR>
326 t_ACCESSOR& accessor,
328 int nameLength)
const
330 enum { NOT_FOUND = -1 };
334 if (0 == attributeInfo) {
Definition s_baltst_sqrt.h:70
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
@ ATTRIBUTE_INDEX_VALUE
Definition s_baltst_sqrt.h:86
int manipulateAttributes(t_MANIPULATOR &manipulator)
Definition s_baltst_sqrt.h:247
int accessAttributes(t_ACCESSOR &accessor) const
Definition s_baltst_sqrt.h:298
int manipulateAttribute(t_MANIPULATOR &manipulator, int id)
Definition s_baltst_sqrt.h:260
static const bdlat_AttributeInfo * lookupAttributeInfo(int id)
Sqrt()
Create an object of type Sqrt having the default value.
friend bool operator==(const Sqrt &lhs, const Sqrt &rhs)
Definition s_baltst_sqrt.h:207
friend bsl::ostream & operator<<(bsl::ostream &stream, const Sqrt &rhs)
Definition s_baltst_sqrt.h:220
int accessAttribute(t_ACCESSOR &accessor, int id) const
Definition s_baltst_sqrt.h:311
friend bool operator!=(const Sqrt &lhs, const Sqrt &rhs)
Returns !(lhs == rhs)
Definition s_baltst_sqrt.h:213
@ NUM_ATTRIBUTES
Definition s_baltst_sqrt.h:82
double & value()
Definition s_baltst_sqrt.h:291
static const char CLASS_NAME[]
Definition s_baltst_sqrt.h:90
@ ATTRIBUTE_ID_VALUE
Definition s_baltst_sqrt.h:78
static const bdlat_AttributeInfo * lookupAttributeInfo(const char *name, int nameLength)
static const bdlat_AttributeInfo ATTRIBUTE_INFO_ARRAY[]
Definition s_baltst_sqrt.h:92
#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