bpp-core3  3.0.0
bpp::BppBoolean Class Reference

The BppBoolean object class. This class extends the bool type to support the Clonable interface. More...

#include <Bpp/BppBoolean.h>

+ Inheritance diagram for bpp::BppBoolean:
+ Collaboration diagram for bpp::BppBoolean:

Public Member Functions

 BppBoolean (bool value=false)
 
BppBooleanclone () const
 Create a copy of this object and send a pointer to it. More...
 
const bool getValue () const
 

Private Attributes

bool value_
 

Detailed Description

The BppBoolean object class. This class extends the bool type to support the Clonable interface.

Definition at line 17 of file BppBoolean.h.

Constructor & Destructor Documentation

◆ BppBoolean()

bpp::BppBoolean::BppBoolean ( bool  value = false)
inline

Definition at line 23 of file BppBoolean.h.

Referenced by clone().

Member Function Documentation

◆ clone()

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

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

Returns
A pointer toward the copy object.

Implements bpp::Clonable.

Definition at line 27 of file BppBoolean.h.

References BppBoolean().

◆ getValue()

const bool bpp::BppBoolean::getValue ( ) const
inline

Definition at line 29 of file BppBoolean.h.

References value_.

Referenced by bpp::operator<<().

Member Data Documentation

◆ value_

bool bpp::BppBoolean::value_
private

Definition at line 20 of file BppBoolean.h.

Referenced by getValue().


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