bpp-core3  3.0.0
bpp::BppUnsignedInteger Class Reference

An object wrapper for unsigned integer values. More...

#include <Bpp/Numeric/Number.h>

+ Inheritance diagram for bpp::BppUnsignedInteger:
+ Collaboration diagram for bpp::BppUnsignedInteger:

Public Member Functions

 BppUnsignedInteger (unsigned int value=0)
 Build a new BppUnsignedInteger number object with a specific value. More...
 
virtual ~BppUnsignedInteger ()
 
unsigned int getValue () const
 Get the value of this number. More...
 
std::string toString () const
 
The Clonable interface.
BppUnsignedIntegerclone () const
 Create a copy of this object and send a pointer to it. More...
 

Protected Attributes

unsigned int value_
 The value of this parameter. More...
 

Detailed Description

An object wrapper for unsigned integer values.

Definition at line 186 of file Number.h.

Constructor & Destructor Documentation

◆ BppUnsignedInteger()

bpp::BppUnsignedInteger::BppUnsignedInteger ( unsigned int  value = 0)
inline

Build a new BppUnsignedInteger number object with a specific value.

Parameters
valueThe value that the Number must have.

Definition at line 194 of file Number.h.

Referenced by clone().

◆ ~BppUnsignedInteger()

virtual bpp::BppUnsignedInteger::~BppUnsignedInteger ( )
inlinevirtual

Definition at line 196 of file Number.h.

Member Function Documentation

◆ clone()

BppUnsignedInteger* bpp::BppUnsignedInteger::clone ( ) const
inlinevirtual

Create a copy of this object and send a pointer to it.

Returns
A pointer toward the copy object.

Implements bpp::BppNumberI.

Definition at line 204 of file Number.h.

References BppUnsignedInteger().

◆ getValue()

unsigned int bpp::Number< unsigned int >::getValue ( ) const
inlineinherited

Get the value of this number.

Returns
The value of this number.

Definition at line 128 of file Number.h.

◆ toString()

std::string bpp::Number< unsigned int >::toString ( ) const
inlinevirtualinherited

Implements bpp::BppNumberI.

Definition at line 130 of file Number.h.

Member Data Documentation

◆ value_

unsigned int bpp::Number< unsigned int >::value_
protectedinherited

The value of this parameter.

Definition at line 95 of file Number.h.


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