Quick Links: |
#include <bsltf_bitwisemoveabletesttype.h>
Public Member Functions | |
BitwiseMoveableTestType () | |
BitwiseMoveableTestType (int data) | |
~BitwiseMoveableTestType () | |
void | setData (int value) |
int | data () const |
This unconstrained (value-semantic) attribute class defines the bslmf::IsBitwiseMoveable
and does not allocate memory. See the Attributes section under @DESCRIPTION in the component-level documentation for information on the class attributes.
See Component bsltf_bitwisemoveabletesttype
bsltf::BitwiseMoveableTestType::BitwiseMoveableTestType | ( | ) |
Create a SimpleTestType
object having the (default) attribute values:
data() == 0
bsltf::BitwiseMoveableTestType::BitwiseMoveableTestType | ( | int | data | ) | [explicit] |
Create a BitwiseMoveableTestType
object having the specified data
attribute value.
bsltf::BitwiseMoveableTestType::~BitwiseMoveableTestType | ( | ) |
Destroy this object.
void bsltf::BitwiseMoveableTestType::setData | ( | int | value | ) |
Set the data
attribute of this object to the specified value
.
int bsltf::BitwiseMoveableTestType::data | ( | ) | const |
Return the value of the data
attribute of this object.