8#ifndef INCLUDED_BDLJSN_LOCATION
9#define INCLUDED_BDLJSN_LOCATION
142#include <bdlscm_version.h>
151#include <bsl_cstdint.h>
152#include <bsl_iosfwd.h>
171 bsl::uint64_t d_offset;
174 template <
class HASHALG>
218 bsl::uint64_t
offset()
const;
233 bsl::ostream&
print(bsl::ostream& stream,
235 int spacesPerLevel = 4)
const;
267template <
class HASHALG>
297: d_offset(original.d_offset)
305 d_offset = rhs.d_offset;
357template <
class HASHALG>
361 using ::BloombergLP::bslh::hashAppend;
Definition bdljsn_location.h:168
friend void swap(Location &, Location &)
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
friend void hashAppend(HASHALG &hashAlg, const Location &)
bsl::uint64_t offset() const
Return the offset attribute of this object.
Definition bdljsn_location.h:334
Location & setOffset(bsl::uint64_t value)
Set the "offset" attribute of this object to the specified value.
Definition bdljsn_location.h:318
Location & reset()
Definition bdljsn_location.h:311
BSLMF_NESTED_TRAIT_DECLARATION(Location, bslmf::IsBitwiseMoveable)
Location()
Create a Location object having the default value, 0.
Definition bdljsn_location.h:284
Location & operator=(const Location &rhs)
Assign to this object the value of the specified rhs object.
Definition bdljsn_location.h:303
static void swap(T *a, T *b)
Definition bslalg_swaputil.h:194
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
void hashAppend(HASH_ALGORITHM &hashAlg, const baljsn::EncoderTestAddress &object)
Definition baljsn_encoder_testtypes.h:9236
Definition bdljsn_error.h:143
bool operator!=(const Error &lhs, const Error &rhs)
void swap(Error &a, Error &b)
bool operator==(const Error &lhs, const Error &rhs)
bsl::ostream & operator<<(bsl::ostream &stream, const Error &object)
void hashAppend(HASHALG &hashAlgorithm, const Error &object)
Definition bslmf_isbitwisemoveable.h:718