bpp-core  2.1.0
bpp::BppBoolean Class Reference

The BppBoolean object class. More...

#include <Bpp/BppBoolean.h>

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

List of all members.

Public Member Functions

 BppBoolean ()
 BppBoolean (bool value)
virtual ~BppBoolean ()
const bool getValue () const
The Clonable interface.
BppBooleanclone () const
 Create a copy of this object and send a pointer to it.

Private Attributes

bool value_

Detailed Description

The BppBoolean object class.

This class extends the bool type to support the Clonable interface.

Definition at line 57 of file BppBoolean.h.


Constructor & Destructor Documentation

Definition at line 64 of file BppBoolean.h.

Referenced by clone().

bpp::BppBoolean::BppBoolean ( bool  value) [inline]

Definition at line 65 of file BppBoolean.h.

virtual bpp::BppBoolean::~BppBoolean ( ) [inline, virtual]

Definition at line 66 of file BppBoolean.h.


Member Function Documentation

BppBoolean* bpp::BppBoolean::clone ( ) const [inline, virtual]

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 80 of file BppBoolean.h.

References BppBoolean().

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

Definition at line 83 of file BppBoolean.h.

References value_.

Referenced by bpp::operator<<().


Member Data Documentation

bool bpp::BppBoolean::value_ [private]

Definition at line 60 of file BppBoolean.h.

Referenced by getValue().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends