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

#include <bsltf_simpletesttype.h>

Public Member Functions

 SimpleTestType ()
 
 SimpleTestType (int data)
 
 SimpleTestType (const SimpleTestType &original)=default
 
 ~SimpleTestType ()
 Destroy this object.
 
SimpleTestTypeoperator= (const SimpleTestType &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 does not allocate memory and does not define any traits. See the Attributes section for information on the class attributes.

See bsltf_simpletesttype

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

Member Function Documentation

◆ data()

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

◆ operator=()

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

◆ setData()

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

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