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

#include <bsltf_nonassignabletesttype.h>

Detailed Description

This unconstrained (value-semantic) attribute class does not provide an assignment operator.

See bsltf_nonassignabletesttype

Public Member Functions

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

Constructor & Destructor Documentation

◆ NonAssignableTestType() [1/2]

bsltf::NonAssignableTestType::NonAssignableTestType ( )
inline

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

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

◆ NonAssignableTestType() [2/2]

bsltf::NonAssignableTestType::NonAssignableTestType ( int  data)
inlineexplicit

Create a NonAssignableTestType object having the specified data attribute value.

◆ ~NonAssignableTestType()

bsltf::NonAssignableTestType::~NonAssignableTestType ( )
inline

Destroy this object.

Member Function Documentation

◆ data()

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

Return the value of the data attribute of this object.

◆ setData()

void bsltf::NonAssignableTestType::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: