Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsltf::SimpleTestType Class Reference

#include <bsltf_simpletesttype.h>

List of all members.

Public Member Functions

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

Detailed Description

This unconstrained (value-semantic) attribute class does not allocate memory and does not define any traits. See the Attributes section under @DESCRIPTION in the component-level documentation for information on the class attributes.

See Component bsltf_simpletesttype


Constructor & Destructor Documentation

bsltf::SimpleTestType::SimpleTestType (  ) 

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

          data() == 0
bsltf::SimpleTestType::SimpleTestType ( int  data  )  [explicit]

Create a SimpleTestType object having the specified data attribute value.

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

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

bsltf::SimpleTestType::~SimpleTestType (  ) 

Destroy this object.


Member Function Documentation

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

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

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

Set the data attribute of this object to the specified value.

int bsltf::SimpleTestType::data (  )  const

Return the value of the data attribute of this object.


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