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 150 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 158 of file Number.h.

◆ ~BppUnsignedInteger()

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

Definition at line 160 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 168 of file Number.h.

◆ 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 92 of file Number.h.

◆ toString()

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

Implements bpp::BppNumberI.

Definition at line 94 of file Number.h.

References bpp::TextTools::toString().

Member Data Documentation

◆ value_

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

The value of this parameter.

Definition at line 59 of file Number.h.


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