This unconstrained (value-semantic) attribute class specifies a location in a (JSON) document.
Declared in <bdljsn_location.h>
class Location;
See the for information on the class attributes. Note that the class invariants are identically the constraints on the individual attributes.
| Name | Description |
|---|---|
Location [constructor] | Constructors |
operator= | Assign to this object the value of the specified rhs object. |
offset | Return the offset attribute of this object. |
print | Format this object to the specified output stream. |
reset | Reset this object to the default value (i.e., its value upon default construction). |
setOffset | Set the "offset" attribute of this object to the specified value. |
swap | Efficiently exchange the value of this object with the value of the specified other object. This method provides the no-throw exception-safety guarantee. |
operator BloombergLP::bslmf::NestedTraitDeclaration<Location, IsBitwiseMoveable> | Declare that this type is bitwise moveable. |
| Name | Description |
|---|---|
BloombergLP::bdljsn::swap | Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee. |
BloombergLP::bdljsn::hashAppend | Pass the specified object to the specified hashAlg. |
| Name | Description |
|---|---|
operator!= | Return true if the specified lhs and rhs do not have the same value. |
operator== | Return true if the specified lhs and rhs have the same value. |