Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsltf::UnionTestType Union Reference

#include <bsltf_uniontesttype.h>

List of all members.

Public Member Functions

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

Detailed Description

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

See Component bsltf_uniontesttype


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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