BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsltf::NonCopyConstructibleTestType Class Reference

#include <bsltf_noncopyconstructibletesttype.h>

Public Member Functions

 NonCopyConstructibleTestType ()
 
 NonCopyConstructibleTestType (int data)
 
 ~NonCopyConstructibleTestType ()
 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 unconstrained (value-semantic) attribute class does not provide a copy constructor.

See bsltf_noncopyconstructibletesttype

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

Member Function Documentation

◆ data()

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

◆ setData()

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

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