C++ main module for mmsd Package  1.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
MM_Attribute Class Reference

This class is a primary field. More...

#include <MM_Attribute.h>

Inheritance diagram for MM_Attribute:
Inheritance graph
[legend]
Collaboration diagram for MM_Attribute:
Collaboration graph
[legend]

Public Member Functions

tString getCardinalityToString () const
 get Cardinality More...
 
void setCardinality (const tString &card)
 get Cardinality More...
 
tBoolean isSingleCardinality () const
 verify if single cardinality More...
 
tBoolean isMultipleCardinality () const
 verify if single cardinality More...
 
void setIsSingleCardinality ()
 set simple cardinality More...
 
void setIsMultipleCardinality ()
 set simple cardinality More...
 
tBoolean isVector () const
 isVector More...
 
tBoolean isMatrix () const
 isVector More...
 
tBoolean isLongDouble () const
 verify if the field is a long double More...
 
tBoolean isDouble () const
 verify if the field is a double More...
 
tBoolean isFloat () const
 verify if the field is a double More...
 
tBoolean isLongInt (tBoolean &isUnsigned) const
 verify if the field is a long int More...
 
tBoolean isLongLongInt (tBoolean &isUnsigned) const
 verify if the field is a long long int More...
 
tBoolean isInt (tBoolean &isUnsigned) const
 verify if the field is an int More...
 
tBoolean isShortInt (tBoolean &isUnsigned) const
 verify if the field is an int More...
 
tBoolean isChar (tBoolean &isUnsigned) const
 verify if the field is an short More...
 
tBoolean isBoolean () const
 verify if the field is an short More...
 
tBoolean isString () const
 verify if the field is a string More...
 
tString getFieldType (const int &i) const
 get type More...
 
virtual tString getFieldType () const
 get type More...
 
void setValue (const tString &type, const tString &card, const tString &value, const tString &separator, const tString &start, const tString &end)
 set generic value More...
 
void setValue (const tString &v)
 set the value More...
 
void setValue (const tBoolean &v)
 set the value More...
 
void setValue (const char *v)
 set the value More...
 
void setValue (const char &v)
 set the value More...
 
void setValue (const short &v)
 set the value More...
 
void setValue (const int &v)
 set the value More...
 
void setValue (const long int &v)
 set the value More...
 
void setValue (const long long int &v)
 set the value More...
 
void setValue (const unsigned long long int &v)
 set the value More...
 
void setValue (const unsigned char &v)
 set the value More...
 
void setValue (const unsigned short &v)
 set the value More...
 
void setValue (const unsigned int &v)
 set the value More...
 
void setValue (const unsigned long int &v)
 set the value More...
 
void setValue (const double &v)
 set the value More...
 
void setValue (const long double &v)
 set the value More...
 
void setValue (const vector< tString > &value)
 set the value More...
 
void setValue (const vector< bool > &value)
 set the value More...
 
void setValue (const vector< unsigned char > &value)
 set the value More...
 
void setValue (const vector< int > &value)
 set the value More...
 
void setValue (const vector< double > &value)
 set the value More...
 
void setValue (const vector< long double > &value)
 set the value More...
 
void setValue (const int &n, const tString *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, const bool *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, const unsigned int *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, unsigned int *v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, const unsigned char *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, unsigned char *v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, const long int *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, long int *v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, const long long int *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, long long int *v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, const int *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, const double *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &n, const long double *&v, const tBoolean &isCopied)
 set the value More...
 
void setValue (const int &nRows, const int &nCols, const int &nValues, double *v, const tBoolean &isCopied)
 
void setValue (const int &nRows, const int &nCols, const int &nValues, const double *&v, const tBoolean &isCopied)
 set the value of a matrix More...
 
void setValue (const int &nRows, const int &nCols, const vector< double > &v)
 set the value of a matrix More...
 
double * createValue (const int &nRows, const int &nCols, const int &nValues)
 set the value of a matrix More...
 
double * createDoubleValue (const int &nValues)
 set the value of a matrix More...
 
int * createIntValue (const int &nValues)
 set the value of a matrix More...
 
tString getValueToString (const tString &separator, const tString &start, const tString &end) const
 get the value in string More...
 
tBoolean getValue (tString &v) const
 get the value More...
 
tBoolean getValue (tBoolean &v) const
 get the value More...
 
tBoolean getValue (char &v) const
 get the value More...
 
tBoolean getValue (short &v) const
 get the value More...
 
tBoolean getValue (int &v) const
 get the value More...
 
tBoolean getValue (long int &v) const
 get the value More...
 
tBoolean getValue (long long int &v) const
 get the value More...
 
tBoolean getValue (unsigned long long int &v) const
 get the value More...
 
tBoolean getValue (unsigned char &v) const
 get the value More...
 
tBoolean getValue (unsigned short &v) const
 get the value More...
 
tBoolean getValue (unsigned int &v) const
 get the value More...
 
tBoolean getValue (unsigned long int &v) const
 get the value size_t = unsigned long int More...
 
tBoolean getValue (float &v) const
 get the value More...
 
tBoolean getValue (double &v) const
 get the value More...
 
tBoolean getValue (long double &v) const
 get the value More...
 
tBoolean getValue (vector< tString > &v) const
 get the value string array More...
 
tBoolean getValue (int &n, const tString *&v) const
 get the value string array by reference More...
 
tBoolean getValue (int &n, const bool *&v) const
 get the value vector of boolean by reference More...
 
tBoolean getValue (int &n, bool *&v) const
 get the value vector of boolean by coppiing More...
 
tBoolean getValue (int &n, tString *&v) const
 get the value string array by copiing More...
 
tBoolean getValue (int &n, const unsigned char *&v) const
 get the value vector of int by reference More...
 
tBoolean getValue (int &n, unsigned char *&v) const
 get the value vector of int by coppiing More...
 
tBoolean getValue (int &n, const char *&v) const
 get the value vector of int by reference More...
 
tBoolean getValue (int &n, char *&v) const
 get the value vector of int by coppiing More...
 
tBoolean getValue (int &n, const unsigned short *&v) const
 get the value vector of unsigned short by reference More...
 
tBoolean getValue (int &n, unsigned short *&v) const
 get the value vector of short by coppiing More...
 
tBoolean getValue (int &n, const short *&v) const
 get the value vector of short by reference More...
 
tBoolean getValue (int &n, short *&v) const
 get the value vector of short by coppiing More...
 
tBoolean getValue (int &n, const unsigned int *&v) const
 get the value vector of unsigned int by reference More...
 
tBoolean getValue (int &n, unsigned int *&v) const
 get the value vector of unsigned int by coppiing More...
 
tBoolean getValue (int &n, const int *&v) const
 get the value vector of int by reference More...
 
tBoolean getValue (int &n, int *&v) const
 get the value vector of int by coppiing the array must be destroyed More...
 
tBoolean getValue (int &n, const unsigned long int *&v) const
 get the value vector of unisgned long int by reference More...
 
tBoolean getValue (int &n, unsigned long int *&v) const
 get the value vector of long int by copping More...
 
tBoolean getValue (int &n, const long int *&v) const
 get the value vector of long int by reference More...
 
tBoolean getValue (int &n, long int *&v) const
 get the value vector of long int by copping More...
 
tBoolean getValue (int &n, const long long int *&v) const
 get the value vector of long int by reference More...
 
tBoolean getValue (int &n, long long int *&v) const
 get the value vector of long int by copping More...
 
tBoolean getValue (int &n, const unsigned long long int *&v) const
 get the value vector of long int by reference More...
 
tBoolean getValue (int &n, unsigned long long int *&v) const
 get the value vector of long int by copping More...
 
tBoolean getValue (int &n, const float *&v) const
 get the value vector of float by reference More...
 
tBoolean getValue (int &n, float *&v) const
 get the value vector of float by coppiing More...
 
tBoolean getValue (int &n, const double *&v) const
 get the value vector of double by reference More...
 
tBoolean getValue (int &n, double *&v) const
 get the value vector of double by coppiing More...
 
tBoolean getValue (int &n, const long double *&v) const
 get the value vector of long double by reference More...
 
tBoolean getValue (int &n, long double *&v) const
 get the value vector of double by coppiing More...
 
int getDimension (const tFlag &d) const
 get the dimension of row , col or size @ see DIM More...
 
tBoolean getValue (int &nRows, int &nCols, int &n, const double *&v) const
 get the value matrix double by reference More...
 
tBoolean getValue (int &nRows, int &nCols, int &n, double *&v) const
 
virtual tString toString () const
 turn the class into string 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 void print ()
 print the class More...
 
virtual ostream & print (ostream &out) const
 print the class More...
 
virtual void print (const tString &message)
 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::MM_Attribute New ()
 creta a matlab class 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 DIM =0
 
static const tFlag ROW =1
 
static const tFlag COL =2
 
static tBoolean mIsMemoryTesting =false
 indicator to store all classes created and deleted only for debuging version More...
 

Protected Member Functions

 MM_Attribute (void)
 create an object More...
 
virtual ~MM_Attribute (void)
 destroy an object. 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...
 

Detailed Description

This class is a primary field.

Author
Stéphane Despréaux
Version
1.0

Constructor & Destructor Documentation

MM_Attribute::MM_Attribute ( void  )
protected

create an object

References null, and CORE_Object::setType().

Referenced by New().

Here is the call graph for this function:

Here is the caller graph for this function:

MM_Attribute::~MM_Attribute ( void  )
protectedvirtual

destroy an object.

References isSingleCardinality(), and null.

Here is the call graph for this function:

Member Function Documentation

double* MM_Attribute::createDoubleValue ( const int &  nValues)
inline

set the value of a matrix

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

int* MM_Attribute::createIntValue ( const int &  nValues)
inline

set the value of a matrix

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

double* MM_Attribute::createValue ( const int &  nRows,
const int &  nCols,
const int &  nValues 
)
inline

set the value of a matrix

References COL, DIM, ROW, and setIsSingleCardinality().

Here is the call graph for this function:

tString MM_Attribute::getCardinalityToString ( ) const
inline

get Cardinality

static tString CORE_Object::getClassName ( const tString identityString)
inlinestaticinherited

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().

Here is the caller graph for this function:

tString CORE_Object::getClassName ( ) const
inherited

return the class name of the object

Returns
the class name of the object

References tString.

Referenced by CORE_Object::getIdentityString().

Here is the caller graph for this function:

int MM_Attribute::getDimension ( const tFlag d) const
inline

get the dimension of row , col or size @ see DIM

See also
COL
ROW
tString MM_Attribute::getFieldType ( const int &  i) const

get type

virtual tString MM_Attribute::getFieldType ( ) const
inlinevirtual

get type

tString CORE_Object::getIdentityString ( ) const
inlineinherited

return the identity string of the object of the form className_at_address

Returns
the identity string of the object

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().

Here is the call graph for this function:

Here is the caller graph for this function:

static ostream& CORE_Object::getOutput ( )
inlinestaticinherited

get output

tString CORE_Object::getPointerAddress ( ) const
inlineinherited

return the identity string of the object

Returns
the identity string of the object

References CORE_Object::pointer2String().

Here is the call graph for this function:

void CORE_Object::getSharedPointer ( SP::CORE_Object &  p)
inlineinherited
void CORE_Object::getSharedPointer ( SPC::CORE_Object &  p) const
inlineinherited

get the shared pointer of this class into p

template<class T >
static tString CORE_Object::getTypeName ( )
inlinestaticinherited

get type name

References tString.

tBoolean MM_Attribute::getValue ( tString v) const
inline

get the value

References isString(), null, and tString.

Referenced by MM_Structure::getFullMatrix(), MM_Structure::getScalar(), MM_Structure::getString(), getValueToString(), and MM_Structure::getVector().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean MM_Attribute::getValue ( tBoolean v) const
inline

get the value

References isBoolean(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( char &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( short &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( int &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( long int &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( long long int &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( unsigned long long int &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( unsigned char &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( unsigned short &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( unsigned int &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( unsigned long int &  v) const
inline

get the value size_t = unsigned long int

References null.

tBoolean MM_Attribute::getValue ( float &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( double &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( long double &  v) const
inline

get the value

References null.

tBoolean MM_Attribute::getValue ( vector< tString > &  v) const
inline

get the value string array

References DIM, null, and tString.

tBoolean MM_Attribute::getValue ( int &  n,
const tString *&  v 
) const
inline

get the value string array by reference

References DIM, isString(), null, and tString.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
const bool *&  v 
) const
inline

get the value vector of boolean by reference

References DIM, isBoolean(), and null.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
bool *&  v 
) const
inline

get the value vector of boolean by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
tString *&  v 
) const
inline

get the value string array by copiing

References DIM, null, and tString.

tBoolean MM_Attribute::getValue ( int &  n,
const unsigned char *&  v 
) const
inline

get the value vector of int by reference

References DIM, isChar(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
unsigned char *&  v 
) const
inline

get the value vector of int by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const char *&  v 
) const
inline

get the value vector of int by reference

References DIM, isChar(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
char *&  v 
) const
inline

get the value vector of int by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const unsigned short *&  v 
) const
inline

get the value vector of unsigned short by reference

References DIM, isShortInt(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
unsigned short *&  v 
) const
inline

get the value vector of short by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const short *&  v 
) const
inline

get the value vector of short by reference

References DIM, isShortInt(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
short *&  v 
) const
inline

get the value vector of short by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const unsigned int *&  v 
) const
inline

get the value vector of unsigned int by reference

References DIM, isInt(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
unsigned int *&  v 
) const
inline

get the value vector of unsigned int by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const int *&  v 
) const
inline

get the value vector of int by reference

References DIM, isInt(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
int *&  v 
) const
inline

get the value vector of int by coppiing the array must be destroyed

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const unsigned long int *&  v 
) const
inline

get the value vector of unisgned long int by reference

References DIM, isLongInt(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
unsigned long int *&  v 
) const
inline

get the value vector of long int by copping

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const long int *&  v 
) const
inline

get the value vector of long int by reference

References DIM, isLongInt(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
long int *&  v 
) const
inline

get the value vector of long int by copping

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const long long int *&  v 
) const
inline

get the value vector of long int by reference

References DIM, isLongLongInt(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
long long int *&  v 
) const
inline

get the value vector of long int by copping

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const unsigned long long int *&  v 
) const
inline

get the value vector of long int by reference

References DIM, isLongLongInt(), null, and tBoolean.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
unsigned long long int *&  v 
) const
inline

get the value vector of long int by copping

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const float *&  v 
) const
inline

get the value vector of float by reference

References DIM, isFloat(), and null.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
float *&  v 
) const
inline

get the value vector of float by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const double *&  v 
) const
inline

get the value vector of double by reference

References DIM, isDouble(), and null.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
double *&  v 
) const
inline

get the value vector of double by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  n,
const long double *&  v 
) const
inline

get the value vector of long double by reference

References DIM, isLongDouble(), and null.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  n,
long double *&  v 
) const
inline

get the value vector of double by coppiing

References DIM, and null.

tBoolean MM_Attribute::getValue ( int &  nRows,
int &  nCols,
int &  n,
const double *&  v 
) const
inline

get the value matrix double by reference

References COL, DIM, isDouble(), null, and ROW.

Here is the call graph for this function:

tBoolean MM_Attribute::getValue ( int &  nRows,
int &  nCols,
int &  n,
double *&  v 
) const
inline

References COL, DIM, isDouble(), null, and ROW.

Here is the call graph for this function:

tString MM_Attribute::getValueToString ( const tString separator,
const tString start,
const tString end 
) const

get the value in string

References getValue(), isSingleCardinality(), null, tBoolean, CORE_Real::toString(), CORE_String::toString(), and tString.

Referenced by toString().

Here is the call graph for this function:

Here is the caller graph for this function:

static tBoolean CORE_Object::is32Architecture ( )
inlinestaticinherited

return true if the machine is a 32 bits machine

References CORE_Object::is64Architecture().

Here is the call graph for this function:

tBoolean CORE_Object::is64Architecture ( )
staticinherited

return true if the machine is a 64 bits machine

Referenced by CORE_Object::is32Architecture().

Here is the caller graph for this function:

tBoolean MM_Attribute::isBoolean ( ) const
inline

verify if the field is an short

Referenced by getValue(), and MM_Structure::isBoolean().

Here is the caller graph for this function:

tBoolean MM_Attribute::isChar ( tBoolean isUnsigned) const
inline

verify if the field is an short

Referenced by getValue(), and MM_Structure::isChar().

Here is the caller graph for this function:

tBoolean MM_Attribute::isDouble ( ) const
inline

verify if the field is a double

Referenced by getValue(), MM_Structure::isDouble(), and MM_Structure::isDoubleFullMatrix().

Here is the caller graph for this function:

tBoolean MM_Attribute::isFloat ( ) const
inline

verify if the field is a double

Referenced by getValue(), and MM_Structure::isFloat().

Here is the caller graph for this function:

template<class T >
tBoolean CORE_Object::isInstanceOf ( ) const
inlineinherited

return true if the object is an instance of T

References null.

tBoolean MM_Attribute::isInt ( tBoolean isUnsigned) const
inline

verify if the field is an int

Referenced by getValue(), and MM_Structure::isInt().

Here is the caller graph for this function:

tBoolean MM_Attribute::isLongDouble ( ) const
inline

verify if the field is a long double

Referenced by getValue(), and MM_Structure::isLongDouble().

Here is the caller graph for this function:

tBoolean MM_Attribute::isLongInt ( tBoolean isUnsigned) const
inline

verify if the field is a long int

Referenced by getValue(), and MM_Structure::isLongInt().

Here is the caller graph for this function:

tBoolean MM_Attribute::isLongLongInt ( tBoolean isUnsigned) const
inline

verify if the field is a long long int

Referenced by getValue(), and MM_Structure::isLongLongInt().

Here is the caller graph for this function:

tBoolean MM_Attribute::isMatrix ( ) const
inline

isVector

Referenced by MM_Structure::isDoubleFullMatrix().

Here is the caller graph for this function:

tBoolean MM_Attribute::isMultipleCardinality ( ) const
inline

verify if single cardinality

Referenced by isVector(), and setValue().

Here is the caller graph for this function:

tBoolean MM_Attribute::isShortInt ( tBoolean isUnsigned) const
inline

verify if the field is an int

Referenced by getValue(), and MM_Structure::isShortInt().

Here is the caller graph for this function:

tBoolean MM_Attribute::isSingleCardinality ( ) const
inline

verify if single cardinality

Referenced by getValueToString(), and ~MM_Attribute().

Here is the caller graph for this function:

tBoolean MM_Attribute::isString ( ) const
inline

verify if the field is a string

Referenced by getValue(), and MM_Structure::isString().

Here is the caller graph for this function:

tBoolean MM_Attribute::isVector ( ) const
inline
static SP::MM_Attribute MM_Attribute::New ( )
inlinestatic

creta a matlab class

References MM_Attribute().

Referenced by MM_Structure::createDoubleVector(), MM_Structure::createFullMatrix(), MM_Structure::createIntVector(), MM_Structure::createScalar(), MM_Structure::createString(), MM_Structure::createValue(), and MM_Structure::createVector().

Here is the call graph for this function:

Here is the caller graph for this function:

void CORE_Object::outputPrint ( const tString message)
staticinherited

print on output

References null, and CORE_Object::print().

Referenced by CORE_Exception::CORE_Exception().

Here is the call graph for this function:

Here is the caller graph for this function:

tString CORE_Object::pointer2String ( const void *  obj)
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().

Here is the caller graph for this function:

virtual void CORE_Object::print ( )
inlinevirtualinherited

print the class

References CORE_Object::toString().

Referenced by CORE_Object::outputPrint(), CORE_Out::print(), CORE_Object::print(), CORE_Out::printInt(), CORE_Out::println(), CORE_Out::printReal(), CORE_Out::printString(), and CORE_Out::setAction().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual ostream& CORE_Object::print ( ostream &  out) const
inlinevirtualinherited

print the class

References CORE_Object::print(), and CORE_Object::toString().

Here is the call graph for this function:

void CORE_Object::print ( const tString message)
virtualinherited

print the class

Reimplemented in CORE_Out.

References null, and CORE_Object::print().

Here is the call graph for this function:

void CORE_Object::print ( const tInteger str)
virtualinherited

print

References null.

void CORE_Object::print ( const tRelativeInteger str)
virtualinherited

print

References null.

void CORE_Object::print ( const tReal str)
virtualinherited

print

References null.

void CORE_Object::print ( const int &  str)
virtualinherited

print

References null.

static ostream& CORE_Object::print ( ostream &  out,
const tString message 
)
inlinestaticinherited

print the class

void CORE_Object::printObjectsInMemory ( )
staticinherited

print object in memory

References CORE_Object::getClassName(), CORE_Object::getSharedPointer(), and CORE_Object::mIsMemoryTesting.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void MM_Attribute::setCardinality ( const tString card)
inline

get Cardinality

References setIsMultipleCardinality(), and setIsSingleCardinality().

Referenced by setValue().

Here is the call graph for this function:

Here is the caller graph for this function:

void MM_Attribute::setIsMultipleCardinality ( )
inline

set simple cardinality

Referenced by setCardinality(), and setValue().

Here is the caller graph for this function:

void MM_Attribute::setIsSingleCardinality ( )
inline

set simple cardinality

Referenced by createDoubleValue(), createIntValue(), createValue(), setCardinality(), and setValue().

Here is the caller graph for this function:

static void CORE_Object::setOutput ( ostream &  out)
inlinestaticinherited

set output

void CORE_Object::setThis ( SP::CORE_Object  p)
inlineprotectedinherited

set this weak shared pointer called toDoAfterThis setting method

References CORE_Object::toDoAfterThisSetting().

Here is the call graph for this function:

virtual void CORE_Object::setType ( tString  type)
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_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().

Here is the caller graph for this function:

void MM_Attribute::setValue ( const tString type,
const tString card,
const tString value,
const tString separator,
const tString start,
const tString end 
)

set generic value

References DIM, CORE_String::indexOf(), isMultipleCardinality(), CORE_String::lastIndexOf(), CORE_String::length(), null, setCardinality(), CORE_String::substring(), CORE_String::tokenize(), CORE_String::trim(), and tString.

Referenced by setValue().

Here is the call graph for this function:

Here is the caller graph for this function:

void MM_Attribute::setValue ( const tString v)
inline

set the value

References DIM, setIsSingleCardinality(), and tString.

Here is the call graph for this function:

void MM_Attribute::setValue ( const tBoolean v)
inline

set the value

References DIM, setIsSingleCardinality(), and tBoolean.

Here is the call graph for this function:

void MM_Attribute::setValue ( const char *  v)
inline

set the value

References setValue(), and tString.

Here is the call graph for this function:

void MM_Attribute::setValue ( const char &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const short &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const long int &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const long long int &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const unsigned long long int &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const unsigned char &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const unsigned short &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const unsigned int &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const unsigned long int &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const double &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const long double &  v)
inline

set the value

References DIM, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const vector< tString > &  value)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const vector< bool > &  value)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const vector< unsigned char > &  value)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const vector< int > &  value)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const vector< double > &  value)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const vector< long double > &  value)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const tString *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, setIsMultipleCardinality(), and tString.

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const bool *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const unsigned int *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
unsigned int *  v,
const tBoolean isCopied 
)
inline

set the value

References setValue().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const unsigned char *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
unsigned char *  v,
const tBoolean isCopied 
)
inline

set the value

References setValue().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const long int *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
long int *  v,
const tBoolean isCopied 
)
inline

set the value

References setValue().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const long long int *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
long long int *  v,
const tBoolean isCopied 
)
inline

set the value

References setValue().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const int *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const double *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  n,
const long double *&  v,
const tBoolean isCopied 
)
inline

set the value

References DIM, null, and setIsMultipleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  nRows,
const int &  nCols,
const int &  nValues,
double *  v,
const tBoolean isCopied 
)
inline

References setValue().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  nRows,
const int &  nCols,
const int &  nValues,
const double *&  v,
const tBoolean isCopied 
)
inline

set the value of a matrix

References COL, DIM, null, ROW, and setIsSingleCardinality().

Here is the call graph for this function:

void MM_Attribute::setValue ( const int &  nRows,
const int &  nCols,
const vector< double > &  v 
)
inline

set the value of a matrix

References COL, DIM, ROW, and setIsSingleCardinality().

Here is the call graph for this function:

virtual void CORE_Object::toDoAfterThisSetting ( )
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().

Here is the caller graph for this function:

virtual tString MM_Attribute::toString ( ) const
inlinevirtual

turn the class into string

Reimplemented from CORE_Object.

References getValueToString().

Here is the call graph for this function:

Member Data Documentation

const tFlag MM_Attribute::COL =2
static

Referenced by createValue(), getValue(), and setValue().

const tFlag MM_Attribute::DIM =0
static
tBoolean CORE_Object::mIsMemoryTesting =false
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().

const tFlag MM_Attribute::ROW =1
static

Referenced by createValue(), getValue(), and setValue().


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