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

#include <bsltf_bitwisemoveabletesttype.h>

Public Member Functions

 BitwiseMoveableTestType ()
 
 BitwiseMoveableTestType (int data)
 
 BitwiseMoveableTestType (const BitwiseMoveableTestType &original)=default
 
 ~BitwiseMoveableTestType ()
 Destroy this object.
 
BitwiseMoveableTestTypeoperator= (const BitwiseMoveableTestType &rhs)=default
 
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 defines the bslmf::IsBitwiseMoveable and does not allocate memory. See the Attributes section for information on the class attributes.

See bsltf_bitwisemoveabletesttype

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

Member Function Documentation

◆ data()

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

◆ 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

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