|
C++ main module for mmsd Package
1.0
|
this class describes the output by default write on standart output More...
#include <CORE_Out.h>


Public Member Functions | |
| void | setOutputFile (const tString &fileName, const tFlag &mode) |
| set output file More... | |
| void | setOutputFile (const tString &fileName) |
| set output file More... | |
| void | setVerbose (const int &f) |
| set the type of message to print More... | |
| tString | getOutputFileName () const |
| get the output file name More... | |
| tString | getOutputString () const |
| get the output string More... | |
| tBoolean | isVerbose (const int &type) const |
| return true if the type is printed More... | |
| virtual void | print (const int &type, const tString &str) |
| print More... | |
| void | print (const tString &str) |
| print More... | |
| void | println (const int &type, const tString &str) |
| print with a new end line More... | |
| void | println (const tString &str) |
| print with a new end line More... | |
| void | println (const int &type) |
| print with a new end line More... | |
| void | println () |
| print with a new end line More... | |
| virtual void | print (const int &type, const long long int &str) |
| print More... | |
| virtual void | print (const int &type, const unsigned long long int &str) |
| print More... | |
| virtual void | print (const int &type, const long int &str) |
| print More... | |
| virtual void | print (const int &type, const unsigned long int &str) |
| print More... | |
| virtual void | print (const int &type, const long double &str) |
| print More... | |
| virtual void | print (const int &type, const int &str) |
| print More... | |
| virtual void | printInt (const int &type, const int &i) |
| print an integer More... | |
| virtual void | printInt (const int &i) |
| print an integer More... | |
| virtual void | printReal (const int &type, const tReal &i) |
| print a real More... | |
| virtual void | printString (const int &type, const tString &str) |
| print a string More... | |
| virtual void | printString (const tString &str) |
| print a string More... | |
| virtual void | printTime (const int &type) |
| print time More... | |
| void | printTime () |
| print time More... | |
| virtual void | printError (const tString &str) |
| print error More... | |
| virtual void | printWarning (const tString &str) |
| print warning More... | |
| virtual void | abort () |
| abort More... | |
| tBoolean | isAborting () const |
| abort More... | |
| virtual void | setAction (const tFlag &type, const vector< tString > &args) |
| set the action More... | |
| virtual void | ask (const tString &question, tString &ret) |
| ask a question More... | |
| virtual void | ask (const tString &question, int &ret) |
| ask a question More... | |
| void | getSharedPointer (SP::CORE_Object &p) |
| get the shared pointer of this class into p More... | |
| void | getSharedPointer (SPC::CORE_Object &p) const |
| get the shared pointer of this class into p More... | |
| tString | getClassName () const |
| return the class name of the object More... | |
| tString | getIdentityString () const |
| return the identity string of the object of the form className_at_address More... | |
| tString | getPointerAddress () const |
| return the identity string of the object More... | |
| template<class T > | |
| tBoolean | isInstanceOf () const |
| return true if the object is an instance of T More... | |
| virtual tString | toString () const |
| return the string representation of the object node More... | |
| virtual void | print () |
| print the class More... | |
| virtual ostream & | print (ostream &out) const |
| print the class More... | |
| virtual void | print (const tInteger &str) |
| print More... | |
| virtual void | print (const tRelativeInteger &str) |
| print More... | |
| virtual void | print (const tReal &str) |
| print More... | |
| virtual void | print (const int &str) |
| print More... | |
Static Public Member Functions | |
| static SP::CORE_Out | New () |
| create a CORE_out class More... | |
| static SP::CORE_Out | New (const tFlag &outputType) |
| create a CORE_out class More... | |
| static tString | getTime () |
| get time More... | |
| static tString | getClassName (const tString &identityString) |
| return the class name of the object using only the identity string More... | |
| template<class T > | |
| static tString | getTypeName () |
| get type name More... | |
| static tBoolean | is64Architecture () |
| return true if the machine is a 64 bits machine More... | |
| static tBoolean | is32Architecture () |
| return true if the machine is a 32 bits machine More... | |
| static tString | pointer2String (const void *obj) |
| return the string represantation of a pointer More... | |
| static void | setOutput (ostream &out) |
| set output More... | |
| static ostream & | getOutput () |
| get output More... | |
| static void | printObjectsInMemory () |
| print object in memory More... | |
| static ostream & | print (ostream &out, const tString &message) |
| print the class More... | |
| static void | outputPrint (const tString &message) |
Static Public Attributes | |
| static const tFlag | NO_OUTPUT =0 |
| static const tFlag | STRING_OUTPUT =3 |
| static const tFlag | SCREEN_OUTPUT =1 |
| static const tFlag | FILE_OUTPUT =2 |
| static const tFlag | ALL_OUTPUT =4 |
| static const tFlag | APPEND =1 |
| static const tFlag | CREATE =2 |
| static const int | ERROR_MSG =1 |
| static const int | WARNING_MSG =2 |
| static const int | DEBUG_MSG =4 |
| static tBoolean | mIsMemoryTesting =false |
| indicator to store all classes created and deleted only for debuging version More... | |
Protected Member Functions | |
| CORE_Out () | |
| build a CORE_Out More... | |
| virtual | ~CORE_Out (void) |
| destroy a CORE_Out More... | |
| void | setOutputType (const tFlag &type) |
| set outputType More... | |
| void | setThis (SP::CORE_Object p) |
| set this weak shared pointer called toDoAfterThis setting method More... | |
| virtual void | setType (tString type) |
| set the type of the object More... | |
| virtual void | toDoAfterThisSetting () |
| method called after setThis() method this method can oly be called once. More... | |
Friends | |
| CORE_Out & | operator<< (CORE_Out &out, const CORE_Object &obj) |
| print Operators More... | |
| CORE_Out & | operator<< (CORE_Out &out, const tString &obj) |
| print Operators More... | |
| CORE_Out & | operator<< (CORE_Out &out, const int &obj) |
| print Operators More... | |
| CORE_Out & | operator<< (CORE_Out &out, const long long int &obj) |
| print Operators More... | |
| CORE_Out & | operator<< (CORE_Out &out, const unsigned long long int &obj) |
| print Operators More... | |
| CORE_Out & | operator<< (CORE_Out &out, const long int &obj) |
| print Operators More... | |
| CORE_Out & | operator<< (CORE_Out &out, const unsigned long int &obj) |
| print Operators More... | |
| CORE_Out & | operator<< (CORE_Out &out, const long double &obj) |
| print Operators More... | |
this class describes the output by default write on standart output
|
protected |
build a CORE_Out
References ERROR_MSG, NO_OUTPUT, and WARNING_MSG.
Referenced by New().

|
protectedvirtual |
destroy a CORE_Out
|
inlinevirtual |
abort
ask a question
| question | question to ask |
|
virtual |
ask a question
| question | question to ask |
return the class name of the object using only the identity string
Referenced by UI_Class::createVector2D(), LAP_DoublePackedUpperMatrix::matrixProduct(), LAP_DoubleBandedUpperMatrix::matrixProduct(), LAP_DoubleFullUpperMatrix::matrixProduct(), and CORE_Object::printObjectsInMemory().

|
inherited |
return the class name of the object
References tString.
Referenced by CORE_Object::getIdentityString().

|
inlineinherited |
return the identity string of the object of the form className_at_address
References CORE_Object::getClassName(), CORE_Object::pointer2String(), and tString.
Referenced by UI_Class::createPrimitiveMap(), UI_Class::saveAssociation(), UI_Class::saveClass(), UI_ClassFactory::saveIntoClass(), MATH_StiefelFunction::toString(), LAP_2DView::toString(), CORE_Object::toString(), MATH_StiefelOptimizer::toString(), and MM_Class::toString().


|
inlinestaticinherited |
get output
|
inline |
get the output file name
|
inlineinherited |
return the identity string of the object
References CORE_Object::pointer2String().

|
inlineinherited |
get the shared pointer of this class into p
Referenced by CORE_Map< Key, Value >::getSharedPointer(), CORE_Array< tFlag >::getSharedPointer(), LAP_ConstVector< lapack_real >::getSharedPointer(), STAT_Combinatorial< T >::getSharedPointer(), LAP_Vector< lapack_int >::getSharedPointer(), CORE_Vector< T >::getSharedPointer(), CORE_Matrix< T >::getSharedPointer(), and CORE_Object::printObjectsInMemory().

|
inlineinherited |
get the shared pointer of this class into p
|
static |
get time
|
inlinestaticinherited |
get type name
References tString.
|
inlinestaticinherited |
return true if the machine is a 32 bits machine
References CORE_Object::is64Architecture().

|
staticinherited |
return true if the machine is a 64 bits machine
Referenced by CORE_Object::is32Architecture().

|
inline |
abort
|
inlineinherited |
return true if the object is an instance of T
References null.
|
inline |
return true if the type is printed
Referenced by print(), printError(), and printTime().

|
inlinestatic |
create a CORE_out class
References CORE_Out().
Referenced by CORE_Run::createIO(), and New().


|
inlinestatic |
|
staticinherited |
print on output
References null, and CORE_Object::print().
Referenced by CORE_Exception::CORE_Exception().


|
staticinherited |
return the string represantation of a pointer
References tString.
Referenced by CORE_Object::CORE_Object(), CORE_Object::getIdentityString(), CORE_Object::getPointerAddress(), and CORE_Object::~CORE_Object().

|
virtual |
References ALL_OUTPUT, FILE_OUTPUT, isVerbose(), SCREEN_OUTPUT, and STRING_OUTPUT.

|
inlinevirtual |
Reimplemented from CORE_Object.
References CORE_Object::print().

|
virtual |
References ALL_OUTPUT, FILE_OUTPUT, isVerbose(), SCREEN_OUTPUT, and STRING_OUTPUT.

|
virtual |
References ALL_OUTPUT, FILE_OUTPUT, isVerbose(), SCREEN_OUTPUT, and STRING_OUTPUT.

|
virtual |
References ALL_OUTPUT, FILE_OUTPUT, isVerbose(), SCREEN_OUTPUT, and STRING_OUTPUT.

|
virtual |
References ALL_OUTPUT, FILE_OUTPUT, isVerbose(), SCREEN_OUTPUT, and STRING_OUTPUT.

|
virtual |
References ALL_OUTPUT, FILE_OUTPUT, isVerbose(), SCREEN_OUTPUT, and STRING_OUTPUT.

|
virtual |
References ALL_OUTPUT, FILE_OUTPUT, isVerbose(), SCREEN_OUTPUT, and STRING_OUTPUT.

|
inlinevirtualinherited |
print the class
References CORE_Object::toString().
Referenced by CORE_Object::outputPrint(), print(), CORE_Object::print(), printInt(), println(), printReal(), printString(), and setAction().


|
inlinevirtualinherited |
print the class
References CORE_Object::print(), and CORE_Object::toString().

|
virtualinherited |
References null.
|
virtualinherited |
References null.
|
inlinestaticinherited |
print the class
|
virtual |
print error
References ERROR_MSG, isVerbose(), println(), and SCREEN_OUTPUT.

|
inlinevirtual |
print an integer
References CORE_Object::print(), and CORE_Integer::toString().

|
inlinevirtual |
print an integer
References CORE_Object::print(), and CORE_Integer::toString().

|
inline |
print with a new end line
References CORE_Object::print().

|
inline |
print with a new end line
References CORE_Object::print().

|
inline |
print with a new end line
References CORE_Object::print().

|
inline |
print with a new end line
References CORE_Object::print().
Referenced by printError(), and printWarning().


|
staticinherited |
print object in memory
References CORE_Object::getClassName(), CORE_Object::getSharedPointer(), and CORE_Object::mIsMemoryTesting.
Referenced by main().


|
inlinevirtual |
print a real
References CORE_Object::print(), and CORE_Real::toString().

|
inlinevirtual |
|
inlinevirtual |
|
virtual |
print time
References ALL_OUTPUT, FILE_OUTPUT, isVerbose(), SCREEN_OUTPUT, and STRING_OUTPUT.

|
inline |
print time
|
virtual |
print warning
References println(), and WARNING_MSG.
Referenced by setOutputFile().


|
inlinevirtual |
set the action
References CORE_Object::print(), and CORE_Integer::toString().

|
inlinestaticinherited |
set output
set output file
References APPEND, null, and printWarning().
Referenced by setOutputFile().


|
inline |
|
inlineprotectedinherited |
set this weak shared pointer called toDoAfterThis setting method
References CORE_Object::toDoAfterThisSetting().

|
inlineprotectedvirtualinherited |
set the type of the object
Referenced by LAP_IntegerVector::LAP_IntegerVector(), MATH_BetaFunction::MATH_BetaFunction(), MATH_C1Function::MATH_C1Function(), MATH_DigammaFunction::MATH_DigammaFunction(), MATH_EigenFunction::MATH_EigenFunction(), MATH_Equation::MATH_Equation(), MATH_Function::MATH_Function(), MATH_GammaFunction::MATH_GammaFunction(), MATH_KeplerFunction::MATH_KeplerFunction(), MATH_LogGammaFunction::MATH_LogGammaFunction(), MATH_NewtonEquation::MATH_NewtonEquation(), MATH_StiefelFunction::MATH_StiefelFunction(), MATH_StiefelOptimizer::MATH_StiefelOptimizer(), MATH_TranscendentEquation::MATH_TranscendentEquation(), MATH_TrigammaFunction::MATH_TrigammaFunction(), MATH_ZeroEquation::MATH_ZeroEquation(), MATH_ZKeplerFunction::MATH_ZKeplerFunction(), MM_Attribute::MM_Attribute(), MM_Class::MM_Class(), MM_ClassFactory::MM_ClassFactory(), MM_Data::MM_Data(), MM_Structure::MM_Structure(), MMSD_ClassFactory::MMSD_ClassFactory(), MMSD_Cluster::MMSD_Cluster(), MMSD_ConstDoubleVector::MMSD_ConstDoubleVector(), MMSD_ConstraintGaussianCluster::MMSD_ConstraintGaussianCluster(), MMSD_ConstraintGaussianModel::MMSD_ConstraintGaussianModel(), MMSD_DataSet::MMSD_DataSet(), MMSD_DataSetClassFactory::MMSD_DataSetClassFactory(), MMSD_DoubleFullMatrix::MMSD_DoubleFullMatrix(), MMSD_DoubleSymmetricMatrix::MMSD_DoubleSymmetricMatrix(), MMSD_DoubleVector::MMSD_DoubleVector(), MMSD_FluryGautschiGaussianLaw::MMSD_FluryGautschiGaussianLaw(), MMSD_GaussianCluster::MMSD_GaussianCluster(), MMSD_GaussianFDFunction::MMSD_GaussianFDFunction(), MMSD_GaussianLaw::MMSD_GaussianLaw(), MMSD_GaussianModel::MMSD_GaussianModel(), MMSD_Law::MMSD_Law(), MMSD_Model::MMSD_Model(), MMSD_ModelClassFactory::MMSD_ModelClassFactory(), MMSD_Object::MMSD_Object(), MMSD_StiefelFunction::MMSD_StiefelFunction(), MMSD_StiefelGaussianLaw::MMSD_StiefelGaussianLaw(), STAT_BernoulliDistribution::STAT_BernoulliDistribution(), STAT_BinomialDistribution::STAT_BinomialDistribution(), STAT_Combinatorial< T >::STAT_Combinatorial(), STAT_DiracDistribution::STAT_DiracDistribution(), STAT_Distribution::STAT_Distribution(), STAT_ExponentialDistribution::STAT_ExponentialDistribution(), STAT_GammaDistribution::STAT_GammaDistribution(), STAT_GeometricDistribution::STAT_GeometricDistribution(), STAT_InverseNormalDistribution::STAT_InverseNormalDistribution(), STAT_NormalDistribution::STAT_NormalDistribution(), STAT_Object::STAT_Object(), STAT_PoissonDistribution::STAT_PoissonDistribution(), STAT_UniformDistribution::STAT_UniformDistribution(), and STAT_UniformLaplaceTransform::STAT_UniformLaplaceTransform().

|
inline |
set the type of message to print
|
inlineprotectedvirtualinherited |
method called after setThis() method this method can oly be called once.
Reimplemented in STAT_UniformLaplaceTransform.
Referenced by CORE_Object::setThis(), and STAT_UniformLaplaceTransform::toDoAfterThisSetting().

|
virtualinherited |
return the string representation of the object node
Reimplemented in MM_Attribute, MM_Structure, MMSD_DoubleSymmetricMatrix, CORE_Time, CORE_Vector< T >, CORE_Array< T >, CORE_Array< tString >, CORE_Array< int >, CORE_Array< tFlag >, MM_Class, MMSD_Model, LAP_DoubleMatrix, LAP_DoubleVector, CORE_Array2D< T >, MMSD_Cluster, MMSD_FluryGautschiGaussianLaw, CORE_Color, CORE_Matrix< T >, MMSD_DataSet, CORE_SharedPointersVMap< Key, Value >, CORE_SharedPointersVMap< tString, const CORE_Object >, CORE_SharedPointersVMap< tString, CORE_Object >, MATH_StiefelOptimizer, MMSD_Law, CORE_SharedPointersListVMap< Key, Value >, MATH_Equation, CORE_SharedPointersKVMap< Key, Value >, MATH_TranscendentEquation, MMSD_GaussianLaw, MMSD_GaussianCluster, MMSD_StiefelGaussianLaw, MATH_NewtonEquation, CORE_String, LAP_View, CORE_Integer, LAP_2DView, MMSD_StiefelFunction, CORE_Array3D< T >, MATH_CubicPolynom, MATH_QuadraticPolynom, MATH_ZeroEquation, MMSD_ConstraintGaussianCluster, CORE_Complex, CORE_Real, MATH_EigenFunction, and MATH_StiefelFunction.
References CORE_Object::getIdentityString().
Referenced by CORE_Object::print(), MM_ClassFactory::saveIntoFile(), CORE_SharedPointersKVMap< Key, Value >::toString(), CORE_SharedPointersListVMap< Key, Value >::toString(), MMSD_Law::toString(), CORE_SharedPointersVMap< Key, Value >::toString(), MMSD_Cluster::toString(), and MMSD_Model::toString().


|
friend |
print Operators
|
static |
Referenced by print(), and printTime().
|
static |
Referenced by setOutputFile().
|
static |
Referenced by CORE_Run::createIO().
|
static |
|
static |
Referenced by CORE_Out(), and printError().
|
static |
Referenced by CORE_Run::createIO(), print(), and printTime().
|
staticinherited |
indicator to store all classes created and deleted only for debuging version
Referenced by CORE_Object::CORE_Object(), main(), CORE_Object::printObjectsInMemory(), and CORE_Object::~CORE_Object().
|
static |
Referenced by CORE_Out(), and CORE_Run::createIO().
|
static |
Referenced by CORE_Run::createIO(), print(), printError(), and printTime().
|
static |
Referenced by print(), and printTime().
|
static |
Referenced by CORE_Out(), and printWarning().
1.8.8