1.1.0
CCC
 
ModelBoolean Class Reference

#include <ModelBoolean.hpp>

Inheritance diagram for ModelBoolean:
AStringable

Public Member Functions

 ModelBoolean (double thetaCst=1., bool flagStat=true)
 
 ModelBoolean (const ModelBoolean &r)
 
ModelBooleanoperator= (const ModelBoolean &r)
 
virtual ~ModelBoolean ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface to AStringable. More...
 
int getNbTokens () const
 
void addToken (const AShape &token)
 
void normalizeProportions ()
 
BooleanObjectgenerateObject (int ndim) const
 
const AShapegetToken (int itok) const
 
bool isFlagStat () const
 
double getThetaCst () const
 
void setFlagStat (bool flagStat)
 
void setThetaCst (double thetaCst)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Constructor & Destructor Documentation

ModelBoolean::ModelBoolean ( double  thetaCst = 1.,
bool  flagStat = true 
)
ModelBoolean::ModelBoolean ( const ModelBoolean r)
ModelBoolean::~ModelBoolean ( )
virtual

Member Function Documentation

void ModelBoolean::addToken ( const AShape token)
BooleanObject * ModelBoolean::generateObject ( int  ndim) const
int ModelBoolean::getNbTokens ( ) const
inline
double ModelBoolean::getThetaCst ( ) const
inline
const AShape* ModelBoolean::getToken ( int  itok) const
inline
bool ModelBoolean::isFlagStat ( ) const
inline
void ModelBoolean::normalizeProportions ( )

Normalize the proportions

ModelBoolean & ModelBoolean::operator= ( const ModelBoolean r)
void ModelBoolean::setFlagStat ( bool  flagStat)
inline
void ModelBoolean::setThetaCst ( double  thetaCst)
inline
String ModelBoolean::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface to AStringable.

Reimplemented from AStringable.


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