BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsltf::UnionTestType Union Reference

#include <bsltf_uniontesttype.h>

Public Member Functions

 UnionTestType ()
 Construct a UnionTestType union having all members set to 0.
 
 UnionTestType (int value)
 
 ~UnionTestType ()
 Destroy this object.
 
void setData (int value)
 Set the data attribute of this object to the specified value.
 
int data () const
 Return the value of the data attribute of this object.
 

Detailed Description

This union provides a union test type to facilitate testing of templates.

Constructor & Destructor Documentation

◆ UnionTestType() [1/2]

bsltf::UnionTestType::UnionTestType ( )
inline

◆ UnionTestType() [2/2]

bsltf::UnionTestType::UnionTestType ( int  value)
inlineexplicit

Construct a UnionTestType having the d_data member set to the specified value.

◆ ~UnionTestType()

bsltf::UnionTestType::~UnionTestType ( )
inline

Member Function Documentation

◆ data()

int bsltf::UnionTestType::data ( ) const
inline

◆ setData()

void bsltf::UnionTestType::setData ( int  value)
inline

The documentation for this union was generated from the following file: