Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsltf::NonCopyConstructibleTestType Class Reference

#include <bsltf_noncopyconstructibletesttype.h>

List of all members.

Public Member Functions

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

Detailed Description

This unconstrained (value-semantic) attribute class does not provide a copy constructor.

See Component bsltf_noncopyconstructibletesttype


Constructor & Destructor Documentation

bsltf::NonCopyConstructibleTestType::NonCopyConstructibleTestType (  ) 

Create a NonCopyConstructibleTestType object having the (default) attribute values:

          data() == 0
bsltf::NonCopyConstructibleTestType::NonCopyConstructibleTestType ( int  data  )  [explicit]

Create a NonCopyConstructibleTestType object having the specified data attribute value.

bsltf::NonCopyConstructibleTestType::~NonCopyConstructibleTestType (  ) 

Destroy this object.


Member Function Documentation

void bsltf::NonCopyConstructibleTestType::setData ( int  value  ) 

Set the data attribute of this object to the specified value

int bsltf::NonCopyConstructibleTestType::data (  )  const

Return the value of the data attribute of this object.


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