1.5.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() [1/2]

ModelBoolean::ModelBoolean ( double  thetaCst = 1.,
bool  flagStat = true 
)

◆ ModelBoolean() [2/2]

ModelBoolean::ModelBoolean ( const ModelBoolean r)

◆ ~ModelBoolean()

ModelBoolean::~ModelBoolean ( )
virtual

Member Function Documentation

◆ addToken()

void ModelBoolean::addToken ( const AShape token)

◆ generateObject()

BooleanObject * ModelBoolean::generateObject ( int  ndim) const

◆ getNbTokens()

int ModelBoolean::getNbTokens ( ) const
inline

◆ getThetaCst()

double ModelBoolean::getThetaCst ( ) const
inline

◆ getToken()

const AShape* ModelBoolean::getToken ( int  itok) const
inline

◆ isFlagStat()

bool ModelBoolean::isFlagStat ( ) const
inline

◆ normalizeProportions()

void ModelBoolean::normalizeProportions ( )

Normalize the proportions

◆ operator=()

ModelBoolean & ModelBoolean::operator= ( const ModelBoolean r)

◆ setFlagStat()

void ModelBoolean::setFlagStat ( bool  flagStat)
inline

◆ setThetaCst()

void ModelBoolean::setThetaCst ( double  thetaCst)
inline

◆ toString()

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: