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