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