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

#include <bsltf_bitwisemoveabletesttype.h>

Detailed Description

This unconstrained (value-semantic) attribute class defines the bslmf::IsBitwiseMoveable and does not allocate memory. See the Attributes section for information on the class attributes.

See bsltf_bitwisemoveabletesttype

Public Member Functions

 BitwiseMoveableTestType ()
 
 BitwiseMoveableTestType (int data)
 
 BitwiseMoveableTestType (const BitwiseMoveableTestType &original)=default
 
 ~BitwiseMoveableTestType ()
 
BitwiseMoveableTestTypeoperator= (const BitwiseMoveableTestType &rhs)=default
 
void setData (int value)
 
int data () const
 

Constructor & Destructor Documentation

◆ BitwiseMoveableTestType() [1/3]

bsltf::BitwiseMoveableTestType::BitwiseMoveableTestType ( )
inline

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

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

◆ BitwiseMoveableTestType() [2/3]

bsltf::BitwiseMoveableTestType::BitwiseMoveableTestType ( int  data)
inlineexplicit

Create a BitwiseMoveableTestType object having the specified data attribute value.

◆ BitwiseMoveableTestType() [3/3]

bsltf::BitwiseMoveableTestType::BitwiseMoveableTestType ( const BitwiseMoveableTestType original)
default

Create a BitwiseMoveableTestType object having the same value as the specified original object.

◆ ~BitwiseMoveableTestType()

bsltf::BitwiseMoveableTestType::~BitwiseMoveableTestType ( )
inline

Destroy this object.

Member Function Documentation

◆ data()

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

Return the value of the data attribute of this object.

◆ operator=()

BitwiseMoveableTestType & bsltf::BitwiseMoveableTestType::operator= ( const BitwiseMoveableTestType rhs)
default

Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object.

◆ setData()

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