Quick Links: |
#include <bsltf_noncopyconstructibletesttype.h>
Public Member Functions | |
NonCopyConstructibleTestType () | |
NonCopyConstructibleTestType (int data) | |
~NonCopyConstructibleTestType () | |
void | setData (int value) |
int | data () const |
This unconstrained (value-semantic) attribute class does not provide a copy constructor.
See Component bsltf_noncopyconstructibletesttype
bsltf::NonCopyConstructibleTestType::NonCopyConstructibleTestType | ( | ) |
Create a NonCopyConstructibleTestType
object having the (default) attribute values:
data() == 0
bsltf::NonCopyConstructibleTestType::NonCopyConstructibleTestType | ( | int | data | ) | [explicit] |
Create a NonCopyConstructibleTestType
object having the specified data
attribute value.
bsltf::NonCopyConstructibleTestType::~NonCopyConstructibleTestType | ( | ) |
Destroy this object.
void bsltf::NonCopyConstructibleTestType::setData | ( | int | value | ) |
Set the data
attribute of this object to the specified value
int bsltf::NonCopyConstructibleTestType::data | ( | ) | const |
Return the value of the data
attribute of this object.