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

#include <bsltf_simpletesttype.h>

Detailed Description

This unconstrained (value-semantic) attribute class does not allocate memory and does not define any traits. See the Attributes section for information on the class attributes.

See bsltf_simpletesttype

Public Member Functions

 SimpleTestType ()
 
 SimpleTestType (int data)
 
 SimpleTestType (const SimpleTestType &original)=default
 
 ~SimpleTestType ()
 
SimpleTestTypeoperator= (const SimpleTestType &rhs)=default
 
void setData (int value)
 
int data () const
 

Constructor & Destructor Documentation

◆ SimpleTestType() [1/3]

bsltf::SimpleTestType::SimpleTestType ( )
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_simpletesttype.h:219

◆ SimpleTestType() [2/3]

bsltf::SimpleTestType::SimpleTestType ( int  data)
inlineexplicit

Create a SimpleTestType object having the specified data attribute value.

◆ SimpleTestType() [3/3]

bsltf::SimpleTestType::SimpleTestType ( const SimpleTestType original)
default

◆ ~SimpleTestType()

bsltf::SimpleTestType::~SimpleTestType ( )
inline

Destroy this object.

Member Function Documentation

◆ data()

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

Return the value of the data attribute of this object.

◆ operator=()

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

◆ setData()

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