BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bsltf::NonCopyConstructibleTestType Class Reference

#include <bsltf_noncopyconstructibletesttype.h>

Detailed Description

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

See bsltf_noncopyconstructibletesttype

Public Member Functions

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

Constructor & Destructor Documentation

◆ NonCopyConstructibleTestType() [1/2]

bsltf::NonCopyConstructibleTestType::NonCopyConstructibleTestType ( )
inline

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

data() == 0
int data() const
Return the value of the data attribute of this object.
Definition bsltf_noncopyconstructibletesttype.h:199

◆ NonCopyConstructibleTestType() [2/2]

bsltf::NonCopyConstructibleTestType::NonCopyConstructibleTestType ( int  data)
inlineexplicit

Create a NonCopyConstructibleTestType object having the specified data attribute value.

◆ ~NonCopyConstructibleTestType()

bsltf::NonCopyConstructibleTestType::~NonCopyConstructibleTestType ( )
inline

Destroy this object.

Member Function Documentation

◆ data()

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

Return the value of the data attribute of this object.

◆ setData()

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

Set the data attribute of this object to the specified value


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