#include <MEDCouplingMemArray.hxx>

Public Member Functions | |
| void | setName (const char *name) |
| void | copyStringInfoFrom (const DataArray &other) throw (INTERP_KERNEL::Exception) |
| void | copyPartOfStringInfoFrom (const DataArray &other, const std::vector< int > &compoIds) throw (INTERP_KERNEL::Exception) |
| void | copyPartOfStringInfoFrom2 (const std::vector< int > &compoIds, const DataArray &other) throw (INTERP_KERNEL::Exception) |
| bool | areInfoEquals (const DataArray &other) const |
| void | reprWithoutNameStream (std::ostream &stream) const |
| std::string | getName () const |
| const std::vector< std::string > & | getInfoOnComponent () const |
| std::vector< std::string > | getVarsOnComponent () const |
| std::vector< std::string > | getUnitsOnComponent () const |
| std::string | getInfoOnComponent (int i) const throw (INTERP_KERNEL::Exception) |
| std::string | getVarOnComponent (int i) const throw (INTERP_KERNEL::Exception) |
| std::string | getUnitOnComponent (int i) const throw (INTERP_KERNEL::Exception) |
| void | setInfoOnComponent (int i, const char *info) throw (INTERP_KERNEL::Exception) |
| int | getNumberOfComponents () const |
| int | getNumberOfTuples () const |
| int | getNbOfElems () const |
| void | checkNbOfTuplesAndComp (const DataArray &other, const char *msg) const throw (INTERP_KERNEL::Exception) |
| void | checkNbOfTuplesAndComp (int nbOfTuples, int nbOfCompo, const char *msg) const throw (INTERP_KERNEL::Exception) |
| void | checkNbOfElems (int nbOfElems, const char *msg) const throw (INTERP_KERNEL::Exception) |
Protected Member Functions | |
| DataArray () | |
Static Protected Member Functions | |
| static void | CheckValueInRange (int ref, int value, const char *msg) throw (INTERP_KERNEL::Exception) |
| static void | CheckClosingParInRange (int ref, int value, const char *msg) throw (INTERP_KERNEL::Exception) |
| static int | GetNumberOfItemGivenBES (int begin, int end, int step, const char *msg) throw (INTERP_KERNEL::Exception) |
Protected Attributes | |
| int | _nb_of_tuples |
| std::string | _name |
| std::vector< std::string > | _info_on_compo |
| ParaMEDMEM.DataArray.DataArray | ( | ) | [protected] |
| void DataArray::setName | ( | const char * | name | ) |
References ParaMEDMEM.DataArray._name, and medClient_test.name.
| void DataArray::copyStringInfoFrom | ( | const DataArray & | other | ) | throw (INTERP_KERNEL::Exception) |
| void DataArray::copyPartOfStringInfoFrom | ( | const DataArray & | other, |
| const std::vector< int > & | compoIds | ||
| ) | throw (INTERP_KERNEL::Exception) |
| void DataArray::copyPartOfStringInfoFrom2 | ( | const std::vector< int > & | compoIds, |
| const DataArray & | other | ||
| ) | throw (INTERP_KERNEL::Exception) |
| bool DataArray::areInfoEquals | ( | const DataArray & | other | ) | const |
| void DataArray::reprWithoutNameStream | ( | std::ostream & | stream | ) | const |
Reimplemented in ParaMEDMEM.DataArrayDouble, and ParaMEDMEM.DataArrayInt.
References ParaMEDMEM.DataArray._info_on_compo, and ParaMEDMEM.DataArray.getNumberOfComponents().
| std::string ParaMEDMEM.DataArray.getName | ( | ) | const |
References ParaMEDMEM.DataArray._name.
| const std::vector<std::string>& ParaMEDMEM.DataArray.getInfoOnComponent | ( | ) | const |
References ParaMEDMEM.DataArray._info_on_compo.
| std::vector< std::string > DataArray::getVarsOnComponent | ( | ) | const |
| std::vector< std::string > DataArray::getUnitsOnComponent | ( | ) | const |
| std::string DataArray::getInfoOnComponent | ( | int | i | ) | const throw (INTERP_KERNEL::Exception) |
| std::string DataArray::getVarOnComponent | ( | int | i | ) | const throw (INTERP_KERNEL::Exception) |
In the info part of i_th component this method returns the var part. For example, if getInfoOnComponent(0) return "SIGXY (N/m^2)", getVarOnComponent(0) will return "SIGXY"
References testGaussLocalization.p1, and testGaussLocalization.p2.
| std::string DataArray::getUnitOnComponent | ( | int | i | ) | const throw (INTERP_KERNEL::Exception) |
In the info part of i_th component this method returns the var part. For example, if getInfoOnComponent(0) return "SIGXY (N/m^2)", getUnitOnComponent(0) will return "N/m^2"
References testGaussLocalization.p1, and testGaussLocalization.p2.
| void DataArray::setInfoOnComponent | ( | int | i, |
| const char * | info | ||
| ) | throw (INTERP_KERNEL::Exception) |
| int ParaMEDMEM.DataArray.getNumberOfComponents | ( | ) | const |
References ParaMEDMEM.DataArray._info_on_compo.
| int ParaMEDMEM.DataArray.getNumberOfTuples | ( | ) | const |
References ParaMEDMEM.DataArray._nb_of_tuples.
| int ParaMEDMEM.DataArray.getNbOfElems | ( | ) | const |
References ParaMEDMEM.DataArray._info_on_compo, and ParaMEDMEM.DataArray._nb_of_tuples.
| void DataArray::checkNbOfTuplesAndComp | ( | const DataArray & | other, |
| const char * | msg | ||
| ) | const throw (INTERP_KERNEL::Exception) |
References medcorba_test.msg.
| void DataArray::checkNbOfTuplesAndComp | ( | int | nbOfTuples, |
| int | nbOfCompo, | ||
| const char * | msg | ||
| ) | const throw (INTERP_KERNEL::Exception) |
References medcorba_test.msg.
| void DataArray::checkNbOfElems | ( | int | nbOfElems, |
| const char * | msg | ||
| ) | const throw (INTERP_KERNEL::Exception) |
References medcorba_test.msg.
| void DataArray::CheckValueInRange | ( | int | ref, |
| int | value, | ||
| const char * | msg | ||
| ) | throw (INTERP_KERNEL::Exception) [static, protected] |
References medcorba_test.msg, and batchmode_medcorba_test.value.
| void DataArray::CheckClosingParInRange | ( | int | ref, |
| int | value, | ||
| const char * | msg | ||
| ) | throw (INTERP_KERNEL::Exception) [static, protected] |
References medcorba_test.msg, and batchmode_medcorba_test.value.
| int DataArray::GetNumberOfItemGivenBES | ( | int | begin, |
| int | end, | ||
| int | step, | ||
| const char * | msg | ||
| ) | throw (INTERP_KERNEL::Exception) [static, protected] |
References med_test1.begin, med_test1.end, and medcorba_test.msg.
int ParaMEDMEM.DataArray._nb_of_tuples [protected] |
std::string ParaMEDMEM.DataArray._name [protected] |
std::vector<std::string> ParaMEDMEM.DataArray._info_on_compo [protected] |