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
UI_Class Class Referenceabstract

This class describes the main interface class for a soft user interface (R,matlab,python etc...) class. More...

#include <UI_Class.h>

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

Public Member Functions

virtual SP::UI_Class NewInstance () const =0
 create a new instance of class More...
 
void setFactory (SP::CORE_ClassFactory fact)
 
void setInterfaceType (const tFlag &f)
 set the interface type More...
 
int getInterfaceType () const
 set the interface type More...
 
void setIsArrayCopied (const tBoolean &v)
 set if the arrays must be copied More...
 
tBoolean isArrayCopied () const
 return true if the array must be copied More...
 
void setVersion (const tString &v)
 set the version More...
 
tString getVersion () const
 set the version More...
 
virtual tBoolean isBoolean (tBoolean &isVector) const =0
 
virtual tBoolean isChar (tBoolean &isVector, tBoolean &isUnsigned) const =0
 
virtual tBoolean isShortInt (tBoolean &isVector, tBoolean &isUnsigned) const =0
 
virtual tBoolean isInt (tBoolean &isVector, tBoolean &isUnsigned) const =0
 
virtual tBoolean isLongInt (tBoolean &isVector, tBoolean &isUnsigned) const =0
 
virtual tBoolean isLongLongInt (tBoolean &isVector, tBoolean &isUnsigned) const =0
 
virtual tBoolean isInteger (tBoolean &isVector, tBoolean &isUnsigned) const
 
virtual tBoolean isFloat (tBoolean &isVector) const =0
 
virtual tBoolean isDouble (tBoolean &isVector) const =0
 
virtual tBoolean isLongDouble (tBoolean &isVector) const =0
 
virtual tBoolean isString (tBoolean &isVector) const =0
 
virtual tBoolean isDoubleFullMatrix () const =0
 
virtual tBoolean isClass () const =0
 verify if the data of the class is a struct More...
 
virtual tBoolean hasField (const tString &field) const =0
 verify if the data of the class is a struct with fields names More...
 
virtual tBoolean hasFields (const vector< tString > &fields) const =0
 verify the data of the class is a struct with fields More...
 
virtual tString getClassName () const =0
 get the class name More...
 
virtual tBoolean getString (tString &name) const =0
 get the string value of argvalue More...
 
virtual tBoolean getScalar (tString &name) const
 get the string value of argvalue More...
 
virtual tBoolean getScalar (tBoolean &value) const =0
 get the boolean value of argvalue More...
 
virtual tBoolean getScalar (char &value) const =0
 get the boolean value of argvalue More...
 
virtual tBoolean getScalar (unsigned char &value) const =0
 get the boolean value of argvalue More...
 
virtual tBoolean getScalar (short int &value) const =0
 get the integer value of argvalue More...
 
virtual tBoolean getScalar (int &value) const =0
 get the integer value of argvalue More...
 
virtual tBoolean getScalar (long int &value) const =0
 get the integer value of argvalue More...
 
virtual tBoolean getScalar (long long int &value) const =0
 get the integer value of argvalue More...
 
virtual tBoolean getScalar (unsigned long long int &value) const =0
 get the integer value of argvalue More...
 
virtual tBoolean getScalar (double &value) const =0
 get the double value of argvalue More...
 
virtual tBoolean getScalar (long double &value) const =0
 get the double value of argvalue More...
 
virtual tBoolean getVector (int &n, tString *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, bool *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, int *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, unsigned int *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, unsigned long int *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, unsigned char *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, long int *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, long long int *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, double *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (int &n, long double *&value, tBoolean &isCopied) const =0
 get the vector value of argvalue More...
 
virtual tBoolean getVector (vector< tString > &name) const =0
 get the string vector value of argvalue More...
 
virtual tBoolean getVector (vector< bool > &value) const
 get the int vector value of argvalue More...
 
virtual tBoolean getVector (vector< unsigned char > &value) const
 get the int vector value of argvalue More...
 
virtual tBoolean getVector (vector< int > &value) const
 get the int vector value of argvalue More...
 
virtual tBoolean getVector (vector< double > &value) const
 get the int vector value of argvalue More...
 
virtual tBoolean getVector (vector< long double > &value) const
 get the int vector value of argvalue More...
 
virtual tBoolean getFullMatrix (int &nRows, int &nCols, double *&value, tBoolean &isCopied) const =0
 get the double full matrix value of argvalue More...
 
tBoolean getFullSymmetricMatrix (int &nRows, double *&value, tBoolean &isCopied) const
 
tBoolean getPackedSymmetricMatrix (int &nRows, double *&value, tBoolean &isCopied) const
 
template<class T >
tBoolean getVector2D (CORE_Array2D< T > &array2D, tBoolean &isCopied) const
 get a 2D vector (or dynamical matrix with different row size) More...
 
template<class T , class Q >
tBoolean getPrimitiveMap (map< T, Q > &primitiveMap) const
 get a primitive map More...
 
template<class T , class Q >
tBoolean getPrimitiveMap (CORE_Map< T, Q > &primitiveMap) const
 get a primitive map More...
 
virtual void createString (const tString &value)=0
 create a string More...
 
virtual void createScalar (const tString &value)
 create a scalar More...
 
virtual void createScalar (const unsigned char &value)=0
 create a scalar More...
 
virtual void createScalar (const unsigned int &value)=0
 create a scalar More...
 
virtual void createScalar (const short int &value)=0
 create a scalar More...
 
virtual void createScalar (const int &value)=0
 create a scalar More...
 
virtual void createScalar (const long int &value)=0
 create a scalar More...
 
virtual void createScalar (const long long int &value)=0
 create a scalar More...
 
virtual void createScalar (const unsigned long long int &value)=0
 create a scalar More...
 
virtual void createScalar (const tBoolean &value)=0
 create a scalar More...
 
virtual void createScalar (const double &value)=0
 create a scalar More...
 
virtual void createScalar (const long double &value)=0
 create a scalar More...
 
virtual double * createDoubleVector (const int &n)=0
 create a vector of double of size n More...
 
virtual int * createIntVector (const int &n)=0
 create a vector of int of size n More...
 
virtual void createVector (const vector< tString > &values)=0
 create a vector of string More...
 
virtual void createVector (const vector< tBoolean > &values)=0
 create a vector of string More...
 
virtual void createVector (const vector< unsigned char > &values)=0
 create a vector of string More...
 
virtual void createVector (const vector< int > &values)=0
 create a vector of string More...
 
virtual void createVector (const vector< double > &values)=0
 create a vector of string More...
 
virtual void createVector (const vector< long double > &values)=0
 create a vector of string More...
 
virtual void createVector (const int &n, const tString *&values, const tBoolean &isCopied)=0
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const tBoolean *&values, const tBoolean &isCopied)=0
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const int *&values, const tBoolean &isCopied)=0
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const unsigned char *&values, const tBoolean &isCopied)=0
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const long int *&values, const tBoolean &isCopied)=0
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const long long int *&values, const tBoolean &isCopied)=0
 create a vector of long long int size of values must be n More...
 
virtual void createVector (const int &n, const double *&values, const tBoolean &isCopied)=0
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const long double *&values, const tBoolean &isCopied)=0
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const tBoolean *values)
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const int *values)
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const long int *values)
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const double *values)
 create a vector size of values must be n More...
 
virtual void createVector (const int &n, const long double *values)
 create a vector size of values must be n More...
 
virtual void createFullMatrix (const int &nRows, const int &nCols, const double *values, tBoolean &isCopied)=0
 create a matrix values must be of size nRows*nCols More...
 
virtual void createFullMatrix (const int &nRows, const int &nCols, const double *values)
 create a matrix values must be of size nRows*nCols More...
 
virtual double * createFullMatrix (const int &nRows, const int &nCols)=0
 create a matrix values must be of size nRows*nCols More...
 
virtual void createFullSymmetricMatrix (const int &nRows, const double *values, const tBoolean &isCopied)
 create a full symmetric matrix values must be of size nRows*nRows More...
 
virtual void createFullSymmetricMatrix (const int &nRows, const double *values)
 create a full symmetric matrix More...
 
virtual void createPackedSymmetricMatrix (const int &nRows, const double *values, const tBoolean &isCopied)
 create a packed symmetric matrix values must be of size nRows*(nRows+1)/2 More...
 
virtual void createPackedSymmetricMatrix (const int &nRows, const double *values)
 create a packed symmetric matrix values must be of size nRows*(nRows+1)/2 More...
 
template<class T >
void createVector2D (const CORE_Array2D< T > &array2D, const tBoolean &isCopied)
 
template<class T >
void createVector2D (const CORE_Array2D< T > &array2D)
 
template<class T , class Q >
void createPrimitiveMap (const map< T, Q > &primitiveMap)
 
template<class T , class Q >
void createPrimitiveMap (const CORE_Map< T, Q > &primitiveMap)
 
void saveClass (const UI_Object &obj)
 save class obj in the UI class structure More...
 
virtual void createClass (const tString &id)=0
 create the empty class with type id More...
 
virtual tBoolean createClass (const tString &id, CORE_SharedPointersVMap< tString, UI_Class > &fields)
 creathe the class More...
 
virtual void createClassesList (const tString &fieldName, const tBoolean &isComposite, const int &n)=0
 create a multiple association of size n with name fieldname of type isComoposite More...
 
virtual tBoolean setClassIntoList (const tString &fieldName, const int &index, UI_Class &fieldValue)=0
 set the index-th element of the classes list supposed to be composite or not depending on isComposite value More...
 
virtual tBoolean setField (const tString &fieldName, const tBoolean &isComposite, UI_Class &fieldValue)=0
 set the field fieldName of the class More...
 
virtual tBoolean setField (const tString &fieldName, UI_Class &fieldValue)
 set the field fieldName of the class More...
 
virtual tBoolean getClassFromList (const tString &fieldName, const int &index, UI_Class &uiClass) const =0
 get the field of the index-th class in the list More...
 
virtual tBoolean getField (const tString &field, UI_Class &uiClass) const =0
 get the field name of the class More...
 
virtual int getClassesListSize (const tString &fieldName) const =0
 get the number of classes of the list More...
 
virtual void getFieldNames (vector< tString > &name) const =0
 get the field names More...
 
virtual void printErrorMessage (const tString &msg) const =0
 print the message & quit More...
 
virtual void printMessage (const tString &msg) const =0
 print the message on screen More...
 
tBoolean loadField (const tString &name, tString &v) const
 
tBoolean loadField (const tString &name, bool &v) const
 
tBoolean loadField (const tString &name, unsigned char &v) const
 
tBoolean loadField (const tString &name, char &v) const
 
tBoolean loadField (const tString &name, short &v) const
 
tBoolean loadField (const tString &name, int &v) const
 
tBoolean loadField (const tString &name, long int &v) const
 
tBoolean loadField (const tString &name, long long int &v) const
 
tBoolean loadField (const tString &name, unsigned long long int &v) const
 
tBoolean loadField (const tString &name, double &v) const
 
tBoolean loadField (const tString &name, long double &v) const
 
tBoolean loadField (const tString &name, vector< tString > &v) const
 
tBoolean loadField (const tString &name, vector< tBoolean > &v) const
 
tBoolean loadField (const tString &name, vector< unsigned char > &v) const
 
tBoolean loadField (const tString &name, vector< int > &v) const
 
tBoolean loadField (const tString &name, vector< double > &v) const
 
tBoolean loadField (const tString &name, vector< long double > &v) const
 
template<class T >
tBoolean loadField (const tString &name, CORE_Array< T > &v) const
 
template<class T >
tBoolean loadField (const tString &name, CORE_Array< T > &v, tBoolean &isCopied) const
 
template<class T >
tBoolean loadField (const tString &name, CORE_Array2D< T > &array2D, tBoolean &isCopied) const
 
template<class T >
tBoolean loadField (const tString &name, CORE_Array2D< T > &array2D) const
 
template<class T >
tBoolean loadField (const tString &name, CORE_Vector< T > &v) const
 
tBoolean loadField (const tString &name, int &n, tString *&v, tBoolean &isCopied) const
 
tBoolean loadField (const tString &name, int &n, tBoolean *&v, tBoolean &isCopied) const
 
tBoolean loadField (const tString &name, int &n, unsigned char *&v, tBoolean &isCopied) const
 
tBoolean loadField (const tString &name, int &n, int *&v, tBoolean &isCopied) const
 
tBoolean loadField (const tString &name, int &n, unsigned long int *&v, tBoolean &isCopied) const
 
tBoolean loadField (const tString &name, int &n, double *&v, tBoolean &isCopied) const
 
tBoolean loadField (const tString &name, int &n, long double *&v, tBoolean &isCopied) const
 
tBoolean loadField (const tString &name, int &n, long double *&v) const
 
tBoolean loadField (const tString &name, int &n, double *&v) const
 
tBoolean loadField (const tString &name, int &n, tString *&v) const
 
tBoolean loadField (const tString &name, int &n, int *&v) const
 
tBoolean loadField (const tString &name, const int &n, long double v[]) const
 
tBoolean loadField (const tString &name, const int &n, double v[]) const
 
tBoolean loadField (const tString &name, const int &n, int v[]) const
 
template<class T , class Q >
tBoolean loadField (const tString &name, map< T, Q > &primitiveMap) const
 
template<class T , class Q >
tBoolean loadField (const tString &name, CORE_Map< T, Q > &primitiveMap) const
 
tBoolean loadFullMatrixField (const tString &name, int &nRows, int &nCols, double *&values, tBoolean &isCopied) const
 
tBoolean loadFullMatrixField (const tString &name, int &nRows, int &nCols, double *&values) const
 
tBoolean loadFullSymmetricMatrixField (const tString &name, int &nRows, double *&values, tBoolean &isCopied) const
 
tBoolean loadFullSymmetricMatrixField (const tString &name, int &nRows, double *&values) const
 
tBoolean loadPackedSymmetricMatrixField (const tString &name, int &nRows, double *&values, tBoolean &isCopied) const
 
tBoolean loadPackedSymmetricMatrixField (const tString &name, int &nRows, double *&values) const
 
tBoolean saveField (const tString &name, const tString &v)
 
tBoolean saveField (const tString &name, const tBoolean &v)
 
tBoolean saveField (const tString &name, const char &v)
 
tBoolean saveField (const tString &name, const unsigned char &v)
 
tBoolean saveField (const tString &name, const short int &v)
 
tBoolean saveField (const tString &name, const int &v)
 
tBoolean saveField (const tString &name, const long int &v)
 
tBoolean saveField (const tString &name, const long long int &v)
 
tBoolean saveField (const tString &name, const unsigned long long int &v)
 
tBoolean saveField (const tString &name, const double &v)
 
tBoolean saveField (const tString &name, const long double &v)
 
template<class T >
tBoolean saveField (const tString &name, const int &n, const T *v)
 
template<class T >
tBoolean saveField (const tString &name, const int &n, const T *v, const tBoolean &isCopied)
 
template<class T >
tBoolean saveField (const tString &name, const vector< T > &v)
 
template<class T , class Q >
tBoolean saveField (const tString &name, const map< T, Q > &primitiveMap)
 
template<class T >
tBoolean saveField (const tString &name, const CORE_Array< T > &v)
 
template<class T >
tBoolean saveField (const tString &name, const CORE_Array2D< T > &v)
 
template<class T >
tBoolean saveField (const tString &name, const CORE_Vector< T > &v)
 
template<class T , class Q >
tBoolean saveField (const tString &name, const CORE_Map< T, Q > &primitiveMap)
 
tBoolean createFullMatrixField (const tString &name, const int &nRows, const int &nCols)
 
tBoolean saveFullMatrixField (const tString &name, const int &nRows, const int &nCols, const double *values)
 
tBoolean saveFullSymmetricMatrixField (const tString &name, const int &nRows, const double *values)
 
tBoolean savePackedSymmetricMatrixField (const tString &name, const int &nRows, const double *values)
 
virtual void finalize ()
 method called for finalizing the saving in UI_CLass More...
 
void saveAssociation (const tString &name, const tBoolean &isComposite, const CORE_Object *obj)
 save the association with single cardinality More...
 
SP::CORE_Object loadAssociation (const tString &name, const tBoolean &isComposite) const
 load the association Note that the factory class must be set to create the class If nit the return object is null. More...
 
void saveAssociation (const tString &name, const CORE_Object *obj)
 save the association with single cardinality More...
 
SP::CORE_Object loadAssociation (const tString &name) const
 load the association Note that the factory class must be set to create the class If nit the return object is null. More...
 
template<class T >
void saveAssociation (const tString &name, const boost::shared_ptr< T > &obj)
 save the association with single cardiality More...
 
template<class T >
void loadAssociation (const tString &name, boost::shared_ptr< T > &object) const
 
template<class T >
void saveAssociation (const tString &name, const boost::weak_ptr< T > &obj)
 save the association with single cardiality More...
 
template<class T >
void loadAssociation (const tString &name, boost::weak_ptr< T > &object) const
 
template<class T >
void saveAssociation (const tString &name, const CORE_SharedPointersList< T > &obj)
 save the association with multiple cardinality More...
 
template<class T >
void loadAssociation (const tString &name, CORE_SharedPointersList< T > &objs) const
 load the association with multiple cardinality More...
 
template<class T >
void saveAssociation (const tString &name, const CORE_WeakPointersList< T > &obj)
 save the association with multiple cardinality More...
 
template<class T >
void loadAssociation (const tString &name, CORE_WeakPointersList< T > &objs) const
 load the association with multiple cardinality More...
 
template<class T , class V >
void saveAssociation (const tString &name, const CORE_SharedPointersVMap< T, V > &objs)
 save the association with multiple cardinality More...
 
template<class K , class V >
void loadAssociation (const tString &name, CORE_SharedPointersVMap< K, V > &objs) const
 load the association with multiple cardinality More...
 
template<class T , class V >
void loadAssociation (const tString &name, CORE_SharedPointersVMap< T, V > &objects) const
 
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 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 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 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 tBoolean mIsMemoryTesting =false
 indicator to store all classes created and deleted only for debuging version More...
 

Protected Member Functions

 UI_Class (void)
 create an object More...
 
virtual ~UI_Class (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 describes the main interface class for a soft user interface (R,matlab,python etc...) class.

The purpose of this class is to load or to save a class into R,matlab or xml project.

The interface type of saving (or loading) depends on either UI_Class::INTERFACE or UI_Class::BACKUP type setting by UI_Class::setInterfaceType().

Different versions may be managed by the UI_Class::getVersion(), UI_Class::setVersion() methods.

A class factory must be associated to a class to generate class UI_Class::setFactory() or UI_Class::getFactory().

The are 5 sets of methods :

At the end of saving or loading a class, the method UI_Class::finalize() must be called.

An array may be either copied element by element or by reference (UI_Class::isArrayCopied(), UI_Class::setIsArrayCopied())

Author
Stéphane Despréaux
Version
1.0

Constructor & Destructor Documentation

UI_Class::UI_Class ( void  )
protected

create an object

UI_Class::~UI_Class ( void  )
protectedvirtual

destroy an object.

Member Function Documentation

virtual void UI_Class::createClass ( const tString id)
pure virtual

create the empty class with type id

Implemented in MM_Structure.

Referenced by MM_Structure::createClass(), createClass(), createPrimitiveMap(), createVector2D(), and saveClass().

Here is the caller graph for this function:

tBoolean UI_Class::createClass ( const tString id,
CORE_SharedPointersVMap< tString, UI_Class > &  fields 
)
virtual

creathe the class

Reimplemented in MM_Structure.

References createClass(), finalize(), CORE_SharedPointersVMap< Key, Value >::getKeys(), null, setField(), and tBoolean.

Here is the call graph for this function:

virtual void UI_Class::createClassesList ( const tString fieldName,
const tBoolean isComposite,
const int &  n 
)
pure virtual

create a multiple association of size n with name fieldname of type isComoposite

Implemented in MM_Structure.

Referenced by saveAssociation().

Here is the caller graph for this function:

virtual double* UI_Class::createDoubleVector ( const int &  n)
pure virtual

create a vector of double of size n

Implemented in MM_Structure.

virtual void UI_Class::createFullMatrix ( const int &  nRows,
const int &  nCols,
const double *  values,
tBoolean isCopied 
)
pure virtual

create a matrix values must be of size nRows*nCols

Implemented in MM_Structure.

Referenced by createFullMatrix().

Here is the caller graph for this function:

virtual void UI_Class::createFullMatrix ( const int &  nRows,
const int &  nCols,
const double *  values 
)
inlinevirtual

create a matrix values must be of size nRows*nCols

References createFullMatrix(), and tBoolean.

Here is the call graph for this function:

virtual double* UI_Class::createFullMatrix ( const int &  nRows,
const int &  nCols 
)
pure virtual

create a matrix values must be of size nRows*nCols

Implemented in MM_Structure.

tBoolean UI_Class::createFullMatrixField ( const tString name,
const int &  nRows,
const int &  nCols 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

virtual void UI_Class::createFullSymmetricMatrix ( const int &  nRows,
const double *  values,
const tBoolean isCopied 
)
inlinevirtual

create a full symmetric matrix values must be of size nRows*nRows

References createVector().

Referenced by createFullSymmetricMatrix().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void UI_Class::createFullSymmetricMatrix ( const int &  nRows,
const double *  values 
)
inlinevirtual

create a full symmetric matrix

values must be of size nRows*nRows

References createFullSymmetricMatrix(), and tBoolean.

Here is the call graph for this function:

virtual int* UI_Class::createIntVector ( const int &  n)
pure virtual

create a vector of int of size n

Implemented in MM_Structure.

virtual void UI_Class::createPackedSymmetricMatrix ( const int &  nRows,
const double *  values,
const tBoolean isCopied 
)
inlinevirtual

create a packed symmetric matrix values must be of size nRows*(nRows+1)/2

References createVector().

Referenced by createPackedSymmetricMatrix().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void UI_Class::createPackedSymmetricMatrix ( const int &  nRows,
const double *  values 
)
inlinevirtual

create a packed symmetric matrix values must be of size nRows*(nRows+1)/2

References createPackedSymmetricMatrix(), and tBoolean.

Here is the call graph for this function:

template<class T , class Q >
void UI_Class::createPrimitiveMap ( const map< T, Q > &  primitiveMap)
inline

References createClass(), and saveField().

Here is the call graph for this function:

template<class T , class Q >
void UI_Class::createPrimitiveMap ( const CORE_Map< T, Q > &  primitiveMap)
inline
virtual void UI_Class::createScalar ( const tString value)
inlinevirtual

create a scalar

References createString().

Here is the call graph for this function:

virtual void UI_Class::createScalar ( const unsigned char &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const unsigned int &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const short int &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const int &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const long int &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const long long int &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const unsigned long long int &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const tBoolean value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const double &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createScalar ( const long double &  value)
pure virtual

create a scalar

Implemented in MM_Structure.

virtual void UI_Class::createString ( const tString value)
pure virtual

create a string

Implemented in MM_Structure.

Referenced by createScalar().

Here is the caller graph for this function:

virtual void UI_Class::createVector ( const vector< tString > &  values)
pure virtual

create a vector of string

Implemented in MM_Structure.

Referenced by createFullSymmetricMatrix(), createPackedSymmetricMatrix(), and createVector().

Here is the caller graph for this function:

virtual void UI_Class::createVector ( const vector< tBoolean > &  values)
pure virtual

create a vector of string

virtual void UI_Class::createVector ( const vector< unsigned char > &  values)
pure virtual

create a vector of string

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const vector< int > &  values)
pure virtual

create a vector of string

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const vector< double > &  values)
pure virtual

create a vector of string

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const vector< long double > &  values)
pure virtual

create a vector of string

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const tString *&  values,
const tBoolean isCopied 
)
pure virtual

create a vector size of values must be n

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const tBoolean *&  values,
const tBoolean isCopied 
)
pure virtual

create a vector size of values must be n

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const int *&  values,
const tBoolean isCopied 
)
pure virtual

create a vector size of values must be n

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const unsigned char *&  values,
const tBoolean isCopied 
)
pure virtual

create a vector size of values must be n

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const long int *&  values,
const tBoolean isCopied 
)
pure virtual

create a vector size of values must be n

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const long long int *&  values,
const tBoolean isCopied 
)
pure virtual

create a vector of long long int size of values must be n

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const double *&  values,
const tBoolean isCopied 
)
pure virtual

create a vector size of values must be n

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const long double *&  values,
const tBoolean isCopied 
)
pure virtual

create a vector size of values must be n

Implemented in MM_Structure.

virtual void UI_Class::createVector ( const int &  n,
const tBoolean values 
)
inlinevirtual

create a vector size of values must be n

Reimplemented in MM_Structure.

References createVector(), and tBoolean.

Here is the call graph for this function:

virtual void UI_Class::createVector ( const int &  n,
const int *  values 
)
inlinevirtual

create a vector size of values must be n

Reimplemented in MM_Structure.

References createVector(), and tBoolean.

Here is the call graph for this function:

virtual void UI_Class::createVector ( const int &  n,
const long int *  values 
)
inlinevirtual

create a vector size of values must be n

Reimplemented in MM_Structure.

References createVector(), and tBoolean.

Here is the call graph for this function:

virtual void UI_Class::createVector ( const int &  n,
const double *  values 
)
inlinevirtual

create a vector size of values must be n

Reimplemented in MM_Structure.

References createVector(), and tBoolean.

Here is the call graph for this function:

virtual void UI_Class::createVector ( const int &  n,
const long double *  values 
)
inlinevirtual

create a vector size of values must be n

Reimplemented in MM_Structure.

References createVector(), and tBoolean.

Here is the call graph for this function:

template<class T >
void UI_Class::createVector2D ( const CORE_Array2D< T > &  array2D,
const tBoolean isCopied 
)
inline
template<class T >
void UI_Class::createVector2D ( const CORE_Array2D< T > &  array2D)
inline

References createVector2D(), and tBoolean.

Here is the call graph for this function:

virtual void UI_Class::finalize ( )
inlinevirtual

method called for finalizing the saving in UI_CLass

Referenced by createClass(), and saveClass().

Here is the caller graph for this function:

virtual int UI_Class::getClassesListSize ( const tString fieldName) const
pure virtual

get the number of classes of the list

Implemented in MM_Structure.

Referenced by loadAssociation().

Here is the caller graph for this function:

virtual tBoolean UI_Class::getClassFromList ( const tString fieldName,
const int &  index,
UI_Class uiClass 
) const
pure virtual

get the field of the index-th class in the list

Parameters
uiClass: value of the class
Returns
false if the index is too big, or field does not exist

Implemented in MM_Structure.

Referenced by loadAssociation().

Here is the caller graph for this function:

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

return the class name of the object using only the identity string

Referenced by createVector2D(), LAP_DoublePackedUpperMatrix::matrixProduct(), LAP_DoubleBandedUpperMatrix::matrixProduct(), LAP_DoubleFullUpperMatrix::matrixProduct(), and CORE_Object::printObjectsInMemory().

Here is the caller graph for this function:

virtual tString UI_Class::getClassName ( ) const
pure virtual

get the class name

Implemented in MM_Structure.

virtual tBoolean UI_Class::getField ( const tString field,
UI_Class uiClass 
) const
pure virtual

get the field name of the class

Parameters
field: name of the field of the class
uiClass: value of the field (class or attribute)
Returns
false if the index is too big, or field does not exist

Implemented in MM_Structure.

Referenced by getVector2D(), loadAssociation(), loadField(), loadFullMatrixField(), loadFullSymmetricMatrixField(), and loadPackedSymmetricMatrixField().

Here is the caller graph for this function:

virtual void UI_Class::getFieldNames ( vector< tString > &  name) const
pure virtual

get the field names

Implemented in MM_Structure.

virtual tBoolean UI_Class::getFullMatrix ( int &  nRows,
int &  nCols,
double *&  value,
tBoolean isCopied 
) const
pure virtual

get the double full matrix value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed

Implemented in MM_Structure.

tBoolean UI_Class::getFullSymmetricMatrix ( int &  nRows,
double *&  value,
tBoolean isCopied 
) const
inline

References getVector(), and tBoolean.

Here is the call graph for this function:

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 createPrimitiveMap(), saveAssociation(), 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:

int UI_Class::getInterfaceType ( ) const
inline
static ostream& CORE_Object::getOutput ( )
inlinestaticinherited

get output

tBoolean UI_Class::getPackedSymmetricMatrix ( int &  nRows,
double *&  value,
tBoolean isCopied 
) const
inline

References getVector(), and tBoolean.

Here is the call graph for this function:

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:

template<class T , class Q >
tBoolean UI_Class::getPrimitiveMap ( map< T, Q > &  primitiveMap) const
inline

get a primitive map

References hasField(), and loadField().

Here is the call graph for this function:

template<class T , class Q >
tBoolean UI_Class::getPrimitiveMap ( CORE_Map< T, Q > &  primitiveMap) const
inline

get a primitive map

References CORE_Map< Key, Value >::clear(), hasField(), loadField(), and CORE_Map< Key, Value >::put().

Here is the call graph for this function:

virtual tBoolean UI_Class::getScalar ( tString name) const
inlinevirtual

get the string value of argvalue

Returns
false if the conversion failed

References getString().

Here is the call graph for this function:

virtual tBoolean UI_Class::getScalar ( tBoolean value) const
pure virtual

get the boolean value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( char &  value) const
pure virtual

get the boolean value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( unsigned char &  value) const
pure virtual

get the boolean value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( short int &  value) const
pure virtual

get the integer value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( int &  value) const
pure virtual

get the integer value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( long int &  value) const
pure virtual

get the integer value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( long long int &  value) const
pure virtual

get the integer value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( unsigned long long int &  value) const
pure virtual

get the integer value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( double &  value) const
pure virtual

get the double value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getScalar ( long double &  value) const
pure virtual

get the double value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

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

virtual tBoolean UI_Class::getString ( tString name) const
pure virtual

get the string value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

Referenced by getScalar().

Here is the caller graph for this function:

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

get type name

References tString.

virtual tBoolean UI_Class::getVector ( int &  n,
tString *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed
false if the conversion failed

Implemented in MM_Structure.

Referenced by getFullSymmetricMatrix(), getPackedSymmetricMatrix(), and getVector().

Here is the caller graph for this function:

virtual tBoolean UI_Class::getVector ( int &  n,
bool *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( int &  n,
int *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( int &  n,
unsigned int *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( int &  n,
unsigned long int *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( int &  n,
unsigned char *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( int &  n,
long int *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( int &  n,
long long int *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( int &  n,
double *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( int &  n,
long double *&  value,
tBoolean isCopied 
) const
pure virtual

get the vector value of argvalue

Parameters
isCopiedif true a new vector of size n is created if false no vector is created: value is a reference to a vector of size n. Note: isCopied may changed if it is false and the double vector can not be referenced
Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( vector< tString > &  name) const
pure virtual

get the string vector value of argvalue

Returns
false if the conversion failed

Implemented in MM_Structure.

virtual tBoolean UI_Class::getVector ( vector< bool > &  value) const
inlinevirtual

get the int vector value of argvalue

Returns
false if the conversion failed

References getVector(), null, and tBoolean.

Here is the call graph for this function:

virtual tBoolean UI_Class::getVector ( vector< unsigned char > &  value) const
inlinevirtual

get the int vector value of argvalue

Returns
false if the conversion failed

References getVector(), null, and tBoolean.

Here is the call graph for this function:

virtual tBoolean UI_Class::getVector ( vector< int > &  value) const
inlinevirtual

get the int vector value of argvalue

Returns
false if the conversion failed

References getVector(), null, and tBoolean.

Here is the call graph for this function:

virtual tBoolean UI_Class::getVector ( vector< double > &  value) const
inlinevirtual

get the int vector value of argvalue

Returns
false if the conversion failed

References getVector(), null, and tBoolean.

Here is the call graph for this function:

virtual tBoolean UI_Class::getVector ( vector< long double > &  value) const
inlinevirtual

get the int vector value of argvalue

Returns
false if the conversion failed

References getVector(), null, and tBoolean.

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::getVector2D ( CORE_Array2D< T > &  array2D,
tBoolean isCopied 
) const
inline

get a 2D vector (or dynamical matrix with different row size)

References getField(), NewInstance(), null, CORE_Array2D< T >::setValues(), and tBoolean.

Here is the call graph for this function:

tString UI_Class::getVersion ( ) const
inline

set the version

References loadField(), and tString.

Here is the call graph for this function:

virtual tBoolean UI_Class::hasField ( const tString field) const
pure virtual

verify if the data of the class is a struct with fields names

Implemented in MM_Structure.

Referenced by getPrimitiveMap(), and loadAssociation().

Here is the caller graph for this function:

virtual tBoolean UI_Class::hasFields ( const vector< tString > &  fields) const
pure virtual

verify the data of the class is a struct with fields

Implemented in MM_Structure.

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 UI_Class::isArrayCopied ( ) const
inline

return true if the array must be copied

Referenced by loadAssociation(), loadField(), and saveAssociation().

Here is the caller graph for this function:

virtual tBoolean UI_Class::isBoolean ( tBoolean isVector) const
pure virtual

Implemented in MM_Structure.

virtual tBoolean UI_Class::isChar ( tBoolean isVector,
tBoolean isUnsigned 
) const
pure virtual

Implemented in MM_Structure.

Referenced by isInteger().

Here is the caller graph for this function:

virtual tBoolean UI_Class::isClass ( ) const
pure virtual

verify if the data of the class is a struct

Implemented in MM_Structure.

virtual tBoolean UI_Class::isDouble ( tBoolean isVector) const
pure virtual

Implemented in MM_Structure.

virtual tBoolean UI_Class::isDoubleFullMatrix ( ) const
pure virtual

Implemented in MM_Structure.

virtual tBoolean UI_Class::isFloat ( tBoolean isVector) const
pure virtual

Implemented in MM_Structure.

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

return true if the object is an instance of T

References null.

virtual tBoolean UI_Class::isInt ( tBoolean isVector,
tBoolean isUnsigned 
) const
pure virtual

Implemented in MM_Structure.

Referenced by isInteger().

Here is the caller graph for this function:

virtual tBoolean UI_Class::isInteger ( tBoolean isVector,
tBoolean isUnsigned 
) const
inlinevirtual

References isChar(), isInt(), isLongInt(), isLongLongInt(), and isShortInt().

Here is the call graph for this function:

virtual tBoolean UI_Class::isLongDouble ( tBoolean isVector) const
pure virtual

Implemented in MM_Structure.

virtual tBoolean UI_Class::isLongInt ( tBoolean isVector,
tBoolean isUnsigned 
) const
pure virtual

Implemented in MM_Structure.

Referenced by isInteger().

Here is the caller graph for this function:

virtual tBoolean UI_Class::isLongLongInt ( tBoolean isVector,
tBoolean isUnsigned 
) const
pure virtual

Implemented in MM_Structure.

Referenced by isInteger().

Here is the caller graph for this function:

virtual tBoolean UI_Class::isShortInt ( tBoolean isVector,
tBoolean isUnsigned 
) const
pure virtual

Implemented in MM_Structure.

Referenced by isInteger().

Here is the caller graph for this function:

virtual tBoolean UI_Class::isString ( tBoolean isVector) const
pure virtual

Implemented in MM_Structure.

template<class T , class V >
void UI_Class::loadAssociation ( const tString name,
CORE_SharedPointersVMap< T, V > &  objects 
) const
SP::CORE_Object UI_Class::loadAssociation ( const tString name,
const tBoolean isComposite 
) const

load the association Note that the factory class must be set to create the class If nit the return object is null.

References getField(), getInterfaceType(), UI_Object::hasBeenLoaded(), hasField(), isArrayCopied(), UI_Object::loadFromUIClass(), NewInstance(), null, UI_Object::setHasBeenLoaded(), and tString.

Referenced by loadAssociation(), MMSD_Cluster::loadFromUIClass(), and MMSD_Model::loadFromUIClass().

Here is the call graph for this function:

Here is the caller graph for this function:

SP::CORE_Object UI_Class::loadAssociation ( const tString name) const
inline

load the association Note that the factory class must be set to create the class If nit the return object is null.

References loadAssociation().

Here is the call graph for this function:

template<class T >
void UI_Class::loadAssociation ( const tString name,
boost::shared_ptr< T > &  object 
) const
inline

References loadAssociation().

Here is the call graph for this function:

template<class T >
void UI_Class::loadAssociation ( const tString name,
boost::weak_ptr< T > &  object 
) const
inline

References loadAssociation().

Here is the call graph for this function:

template<class T >
void UI_Class::loadAssociation ( const tString name,
CORE_SharedPointersList< T > &  objs 
) const
template<class T >
void UI_Class::loadAssociation ( const tString name,
CORE_WeakPointersList< T > &  objs 
) const
template<class K , class V >
void UI_Class::loadAssociation ( const tString name,
CORE_SharedPointersVMap< K, V > &  objs 
) const

load the association with multiple cardinality

tBoolean UI_Class::loadField ( const tString name,
tString v 
) const
inline
tBoolean UI_Class::loadField ( const tString name,
bool &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
unsigned char &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
char &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
short &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
long int &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
long long int &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
unsigned long long int &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
double &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
long double &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
vector< tString > &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
vector< tBoolean > &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
vector< unsigned char > &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
vector< int > &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
vector< double > &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
vector< long double > &  v 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::loadField ( const tString name,
CORE_Array< T > &  v 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::loadField ( const tString name,
CORE_Array< T > &  v,
tBoolean isCopied 
) const
inline

References isArrayCopied(), loadField(), null, CORE_Array< T >::setValues(), CORE_Array< T >::setValuesByReference(), and tBoolean.

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::loadField ( const tString name,
CORE_Array2D< T > &  array2D,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::loadField ( const tString name,
CORE_Array2D< T > &  array2D 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::loadField ( const tString name,
CORE_Vector< T > &  v 
) const
inline

References CORE_Vector< T >::getValues(), loadField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
tString *&  v,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
tBoolean *&  v,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
unsigned char *&  v,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
int *&  v,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
unsigned long int *&  v,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
double *&  v,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
long double *&  v,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
long double *&  v 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
double *&  v 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
tString *&  v 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
int &  n,
int *&  v 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
const int &  n,
long double  v[] 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
const int &  n,
double  v[] 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadField ( const tString name,
const int &  n,
int  v[] 
) const
inline

References loadField(), and tBoolean.

Here is the call graph for this function:

template<class T , class Q >
tBoolean UI_Class::loadField ( const tString name,
map< T, Q > &  primitiveMap 
) const
inline

References getField(), and NewInstance().

Here is the call graph for this function:

template<class T , class Q >
tBoolean UI_Class::loadField ( const tString name,
CORE_Map< T, Q > &  primitiveMap 
) const
inline

References CORE_Map< Key, Value >::clear(), getField(), and NewInstance().

Here is the call graph for this function:

tBoolean UI_Class::loadFullMatrixField ( const tString name,
int &  nRows,
int &  nCols,
double *&  values,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Referenced by MMSD_Law::loadFromUIClass(), MMSD_DataSet::loadFromUIClass(), MMSD_Cluster::loadFromUIClass(), and loadFullMatrixField().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean UI_Class::loadFullMatrixField ( const tString name,
int &  nRows,
int &  nCols,
double *&  values 
) const
inline

References loadFullMatrixField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadFullSymmetricMatrixField ( const tString name,
int &  nRows,
double *&  values,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Referenced by loadFullSymmetricMatrixField().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean UI_Class::loadFullSymmetricMatrixField ( const tString name,
int &  nRows,
double *&  values 
) const
inline

References loadFullSymmetricMatrixField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::loadPackedSymmetricMatrixField ( const tString name,
int &  nRows,
double *&  values,
tBoolean isCopied 
) const
inline

References getField(), and NewInstance().

Referenced by loadPackedSymmetricMatrixField().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean UI_Class::loadPackedSymmetricMatrixField ( const tString name,
int &  nRows,
double *&  values 
) const
inline

References loadPackedSymmetricMatrixField(), and tBoolean.

Here is the call graph for this function:

virtual SP::UI_Class UI_Class::NewInstance ( ) const
pure virtual
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

virtual void UI_Class::printErrorMessage ( const tString msg) const
pure virtual

print the message & quit

Implemented in MM_Structure.

virtual void UI_Class::printMessage ( const tString msg) const
pure virtual

print the message on screen

Implemented in MM_Structure.

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 UI_Class::saveAssociation ( const tString name,
const tBoolean isComposite,
const CORE_Object obj 
)

save the association with single cardinality

References CORE_Object::getIdentityString(), getInterfaceType(), isArrayCopied(), NewInstance(), null, UI_Object::saveToUIClass(), and setField().

Referenced by saveAssociation(), MMSD_Cluster::saveToUIClass(), and MMSD_Model::saveToUIClass().

Here is the call graph for this function:

Here is the caller graph for this function:

void UI_Class::saveAssociation ( const tString name,
const CORE_Object obj 
)
inline

save the association with single cardinality

References saveAssociation().

Here is the call graph for this function:

template<class T >
void UI_Class::saveAssociation ( const tString name,
const boost::shared_ptr< T > &  obj 
)
inline

save the association with single cardiality

References saveAssociation().

Here is the call graph for this function:

template<class T >
void UI_Class::saveAssociation ( const tString name,
const boost::weak_ptr< T > &  obj 
)
inline

save the association with single cardiality

References saveAssociation().

Here is the call graph for this function:

template<class T >
void UI_Class::saveAssociation ( const tString name,
const CORE_SharedPointersList< T > &  obj 
)
template<class T >
void UI_Class::saveAssociation ( const tString name,
const CORE_WeakPointersList< T > &  obj 
)
template<class T , class V >
void UI_Class::saveAssociation ( const tString name,
const CORE_SharedPointersVMap< T, V > &  objs 
)
void UI_Class::saveClass ( const UI_Object obj)
inline

save class obj in the UI class structure

References createClass(), finalize(), CORE_Object::getIdentityString(), CORE_ClassFactory::New(), null, UI_Object::saveToUIClass(), and setFactory().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const tString v 
)
inline
tBoolean UI_Class::saveField ( const tString name,
const tBoolean v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const char &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const unsigned char &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const short int &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const int &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const long int &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const long long int &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const unsigned long long int &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const double &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveField ( const tString name,
const long double &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::saveField ( const tString name,
const int &  n,
const T *  v 
)
inline

References saveField(), and tBoolean.

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::saveField ( const tString name,
const int &  n,
const T *  v,
const tBoolean isCopied 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::saveField ( const tString name,
const vector< T > &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

template<class T , class Q >
tBoolean UI_Class::saveField ( const tString name,
const map< T, Q > &  primitiveMap 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::saveField ( const tString name,
const CORE_Array< T > &  v 
)
inline

References CORE_Array< T >::getSize(), CORE_Array< T >::getValues(), saveField(), and tBoolean.

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::saveField ( const tString name,
const CORE_Array2D< T > &  v 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

template<class T >
tBoolean UI_Class::saveField ( const tString name,
const CORE_Vector< T > &  v 
)
inline

References CORE_Vector< T >::getValues(), and saveField().

Here is the call graph for this function:

template<class T , class Q >
tBoolean UI_Class::saveField ( const tString name,
const CORE_Map< T, Q > &  primitiveMap 
)
inline

References NewInstance(), and setField().

Here is the call graph for this function:

tBoolean UI_Class::saveFullMatrixField ( const tString name,
const int &  nRows,
const int &  nCols,
const double *  values 
)
inline

References NewInstance(), setField(), and tBoolean.

Referenced by MMSD_Law::saveToUIClass(), MMSD_DataSet::saveToUIClass(), and MMSD_Cluster::saveToUIClass().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean UI_Class::saveFullSymmetricMatrixField ( const tString name,
const int &  nRows,
const double *  values 
)
inline

References NewInstance(), setField(), and tBoolean.

Here is the call graph for this function:

tBoolean UI_Class::savePackedSymmetricMatrixField ( const tString name,
const int &  nRows,
const double *  values 
)
inline

References NewInstance(), setField(), and tBoolean.

Here is the call graph for this function:

virtual tBoolean UI_Class::setClassIntoList ( const tString fieldName,
const int &  index,
UI_Class fieldValue 
)
pure virtual

set the index-th element of the classes list supposed to be composite or not depending on isComposite value

Implemented in MM_Structure.

Referenced by saveAssociation().

Here is the caller graph for this function:

void UI_Class::setFactory ( SP::CORE_ClassFactory  fact)
inline

Referenced by saveClass().

Here is the caller graph for this function:

virtual tBoolean UI_Class::setField ( const tString fieldName,
const tBoolean isComposite,
UI_Class fieldValue 
)
pure virtual

set the field fieldName of the class

Implemented in MM_Structure.

Referenced by createClass(), createFullMatrixField(), saveAssociation(), saveField(), saveFullMatrixField(), saveFullSymmetricMatrixField(), savePackedSymmetricMatrixField(), and setField().

Here is the caller graph for this function:

virtual tBoolean UI_Class::setField ( const tString fieldName,
UI_Class fieldValue 
)
inlinevirtual

set the field fieldName of the class

Reimplemented in MM_Structure.

References setField(), and tBoolean.

Here is the call graph for this function:

void UI_Class::setInterfaceType ( const tFlag f)
inline

set the interface type

void UI_Class::setIsArrayCopied ( const tBoolean v)
inline

set if the arrays must be copied

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_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 UI_Class::setVersion ( const tString v)
inline

set the version

References saveField().

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:

tString CORE_Object::toString ( ) const
virtualinherited

return the string representation of the object node

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

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

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


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