8#ifndef INCLUDED_S_BALTST_CUSTOMIZEDHEXBINARY
9#define INCLUDED_S_BALTST_CUSTOMIZEDHEXBINARY
43#include <bslalg_typetraits.h>
53#include <bsl_vector.h>
55#include <bsl_iosfwd.h>
56#include <bsl_limits.h>
60namespace s_baltst {
class CustomizedHexBinary; }
89#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
90 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
109#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
110 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
139 bsl::ostream&
print(bsl::ostream& stream,
141 int spacesPerLevel = 4)
const;
161 return lhs.d_value == rhs.d_value;
171 return lhs.d_value != rhs.d_value;
179 return rhs.print(stream, 0, -1);
216: d_value(original.d_value)
236 d_value = rhs.d_value;
261 int spacesPerLevel)
const
Definition bslstl_vector.h:1120
Definition s_baltst_customizedhexbinary.h:67
bsl::vector< char > BaseType
Definition s_baltst_customizedhexbinary.h:74
const bsl::vector< char > & toVector() const
Convert this value to bsl::vector<char>.
Definition s_baltst_customizedhexbinary.h:267
friend bool operator==(const CustomizedHexBinary &lhs, const CustomizedHexBinary &rhs)
Definition s_baltst_customizedhexbinary.h:158
friend bsl::ostream & operator<<(bsl::ostream &stream, const CustomizedHexBinary &rhs)
Definition s_baltst_customizedhexbinary.h:176
friend bool operator!=(const CustomizedHexBinary &lhs, const CustomizedHexBinary &rhs)
Definition s_baltst_customizedhexbinary.h:168
CustomizedHexBinary()
Definition s_baltst_customizedhexbinary.h:209
void reset()
Definition s_baltst_customizedhexbinary.h:241
~CustomizedHexBinary()
Destroy this object.
Definition s_baltst_customizedhexbinary.h:228
int fromVector(const bsl::vector< char > &value)
Definition s_baltst_customizedhexbinary.h:247
static int checkRestrictions(const bsl::vector< char > &value)
Definition s_baltst_customizedhexbinary.h:201
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
Definition s_baltst_customizedhexbinary.h:259
CustomizedHexBinary & operator=(const CustomizedHexBinary &rhs)
Assign to this object the value of the specified rhs object.
Definition s_baltst_customizedhexbinary.h:234
static const char CLASS_NAME[]
Definition s_baltst_customizedhexbinary.h:77
#define BDLAT_DECL_CUSTOMIZEDTYPE_WITH_BITWISEMOVEABLE_TRAITS(ClassName)
Definition bdlat_typetraits.h:344
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1976
#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
void reset(TYPE *object)
Reset the value of the specified object to its default value.
bsl::ostream & print(bsl::ostream &stream, const TYPE &object, int level=0, int spacesPerLevel=4)
Definition bdlb_printmethods.h:725
Definition s_baltst_address.h:66