BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bsltf::UnionTestType Union Reference

#include <bsltf_uniontesttype.h>

Detailed Description

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

Public Member Functions

 UnionTestType ()
 
 UnionTestType (int value)
 
 ~UnionTestType ()
 
void setData (int value)
 
int data () const
 

Constructor & Destructor Documentation

◆ UnionTestType() [1/2]

bsltf::UnionTestType::UnionTestType ( )
inline

Construct a UnionTestType union having all members set to 0.

◆ 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

Destroy this object.

Member Function Documentation

◆ data()

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

Return the value of the data attribute of this object.

◆ setData()

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

Set the data attribute of this object to the specified value.


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