[#BloombergLP-bsltf-UnionTestType] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::UnionTestType :relfileprefix: ../../ :mrdocs: This union provides a union test type to facilitate testing of templates. == Synopsis Declared in `<bsltf_uniontesttype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- union UnionTestType; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/UnionTestType/2constructor-02.adoc[`UnionTestType`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bsltf/UnionTestType/2destructor.adoc[`~UnionTestType`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/bsltf/UnionTestType/data.adoc[`data`] | Return the value of the `data` attribute of this object. | xref:BloombergLP/bsltf/UnionTestType/setData.adoc[`setData`] | Set the `data` attribute of this object to the specified `value`. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsltf/debugprint-068.adoc[`debugprint`] | Same as the preceding overload for this test type. | xref:BloombergLP/bsltf/operator_not_eq-074.adoc[`operator!=`] | Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `UnionTestType` objects do not have the same value if their `data` attributes are not the same. | xref:BloombergLP/bsltf/operator_eq-072.adoc[`operator==`] | Return `true` if the specified `lhs` and `rhs` unions have the same value, and `false` otherwise. Two `UnionTestType` objects have the same if their `data` attributes are the same. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#