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; }
93#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
94 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
113#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
114 && defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
142 bsl::ostream&
print(bsl::ostream& stream,
144 int spacesPerLevel = 4)
const;
210: d_value(original.d_value)
230 d_value = rhs.d_value;
255 int spacesPerLevel)
const
275 return lhs.d_value == rhs.d_value;
283 return lhs.d_value != rhs.d_value;
288 bsl::ostream& stream,
291 return rhs.
print(stream, 0, -1);
Definition bslstl_vector.h:1025
Definition s_baltst_customizedhexbinary.h:67
bsl::vector< char > BaseType
Definition s_baltst_customizedhexbinary.h:78
const bsl::vector< char > & toVector() const
Convert this value to bsl::vector<char>.
Definition s_baltst_customizedhexbinary.h:261
friend bool operator==(const CustomizedHexBinary &lhs, const CustomizedHexBinary &rhs)
friend bool operator!=(const CustomizedHexBinary &lhs, const CustomizedHexBinary &rhs)
CustomizedHexBinary()
Definition s_baltst_customizedhexbinary.h:203
void reset()
Definition s_baltst_customizedhexbinary.h:235
~CustomizedHexBinary()
Destroy this object.
Definition s_baltst_customizedhexbinary.h:222
int fromVector(const bsl::vector< char > &value)
Definition s_baltst_customizedhexbinary.h:241
static int checkRestrictions(const bsl::vector< char > &value)
Definition s_baltst_customizedhexbinary.h:195
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
Definition s_baltst_customizedhexbinary.h:253
CustomizedHexBinary & operator=(const CustomizedHexBinary &rhs)
Assign to this object the value of the specified rhs object.
Definition s_baltst_customizedhexbinary.h:228
static const char CLASS_NAME[]
Definition s_baltst_customizedhexbinary.h:81
#define BDLAT_DECL_CUSTOMIZEDTYPE_WITH_BITWISEMOVEABLE_TRAITS(ClassName)
Definition bdlat_typetraits.h:325
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT_RCSID(tag, str)
Definition bsls_ident.h:260
#define BSLS_IDENT_PRAGMA_ONCE
Definition bsls_ident.h:310
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:719
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)