#include <bsltf_allocbitwisemoveabletesttype.h>
This unconstrained (value-semantic) attribute class that is bitwise-moveable, uses a bslma::Allocator
to supply memory, and defines the type traits bslma::UsesBslmaAllocator
and bslmf::IsBitwiseMoveable
. See the Attributes section under @DESCRIPTION in the component-level documentation for information on the class attributes.
See bsltf_allocbitwisemoveabletesttype
◆ AllocBitwiseMoveableTestType() [1/4]
bsltf::AllocBitwiseMoveableTestType::AllocBitwiseMoveableTestType |
( |
| ) |
|
|
inline |
◆ AllocBitwiseMoveableTestType() [2/4]
bsltf::AllocBitwiseMoveableTestType::AllocBitwiseMoveableTestType |
( |
bslma::Allocator * |
basicAllocator | ) |
|
|
inlineexplicit |
Create a AllocBitwiseMoveableTestType
object having the (default) attribute values:
int data() const
Return the value of the data attribute of this object.
Definition bsltf_allocbitwisemoveabletesttype.h:290
Optionally specify a basicAllocator
used to supply memory. If basicAllocator
is 0, the currently installed default allocator is used.
◆ AllocBitwiseMoveableTestType() [3/4]
bsltf::AllocBitwiseMoveableTestType::AllocBitwiseMoveableTestType |
( |
int |
data, |
|
|
bslma::Allocator * |
basicAllocator = 0 |
|
) |
| |
|
inlineexplicit |
Create a AllocBitwiseMoveableTestType
object having the specified data
attribute value. Optionally specify a basicAllocator
used to supply memory. If basicAllocator
is 0, the currently installed default allocator is used.
◆ AllocBitwiseMoveableTestType() [4/4]
Create a AllocBitwiseMoveableTestType
object having the same value as the specified original
object. Optionally specify a basicAllocator
used to supply memory. If basicAllocator
is 0, the currently installed default allocator is used.
◆ ~AllocBitwiseMoveableTestType()
bsltf::AllocBitwiseMoveableTestType::~AllocBitwiseMoveableTestType |
( |
| ) |
|
|
inline |
◆ allocator()
◆ data()
int bsltf::AllocBitwiseMoveableTestType::data |
( |
| ) |
const |
|
inline |
◆ operator=()
Assign to this object the value of the specified rhs
object, and return a reference providing modifiable access to this object.
◆ setData()
void bsltf::AllocBitwiseMoveableTestType::setData |
( |
int |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: