Quick Links: |
#include <bsltf_uniontesttype.h>
Public Member Functions | |
UnionTestType () | |
UnionTestType (int value) | |
~UnionTestType () | |
void | setData (int value) |
int | data () const |
This union provides a union test type to facilitate testing of templates.
See Component bsltf_uniontesttype
bsltf::UnionTestType::UnionTestType | ( | ) |
Construct a UnionTestType
union having all members set to 0.
bsltf::UnionTestType::UnionTestType | ( | int | value | ) | [explicit] |
Construct a UnionTestType
having the d_data
member set to the specified value
.
bsltf::UnionTestType::~UnionTestType | ( | ) |
Destroy this object.
void bsltf::UnionTestType::setData | ( | int | value | ) |
Set the data
attribute of this object to the specified value
.
int bsltf::UnionTestType::data | ( | ) | const |
Return the value of the data
attribute of this object.