

Public Member Functions | |
| DataArrayInt32 * | buildDAInt (std::size_t nbOfTuples, std::size_t nbOfCompo) const |
| DataArrayInt32Tuple (Int32 *pt, std::size_t nbOfComp) | |
| Int32 | intValue () const |
| std::string | repr () const |
Public Member Functions inherited from MEDCoupling::DataArrayTuple< Int32 > | |
| Traits< Int32 >::ArrayType * | buildDA (std::size_t nbOfTuples, std::size_t nbOfCompo) const |
| DataArrayTuple (Int32 *pt, std::size_t nbOfComp) | |
| const Int32 * | getConstPointer () const |
| std::size_t | getNumberOfCompo () const |
| Int32 * | getPointer () |
| std::string | repr () const |
Additional Inherited Members | |
Protected Member Functions inherited from MEDCoupling::DataArrayTuple< Int32 > | |
| Int32 | zeValue () const |
Protected Attributes inherited from MEDCoupling::DataArrayTuple< Int32 > | |
| std::size_t | _nb_of_compo |
| Int32 * | _pt |
| DataArrayInt32Tuple::DataArrayInt32Tuple | ( | Int32 * | pt, |
| std::size_t | nbOfComp | ||
| ) |
| std::string DataArrayInt32Tuple::repr | ( | ) | const |
| Int32 DataArrayInt32Tuple::intValue | ( | ) | const |
References MEDCoupling::DataArrayTuple< Int32 >::zeValue().
| DataArrayInt32 * DataArrayInt32Tuple::buildDAInt | ( | std::size_t | nbOfTuples, |
| std::size_t | nbOfCompo | ||
| ) | const |
This method returns a newly allocated instance the caller should dealed with by a MEDCoupling::DataArrayInt::decrRef. This method performs no copy of data. The content is only referenced using MEDCoupling::DataArrayInt::useArray with ownership set to false. This method throws an INTERP_KERNEL::Exception is it is impossible to match sizes of this that is too say nbOfCompo=this->_nb_of_elem and \bnbOfTuples==1 or nbOfCompo=1 and \bnbOfTuples==this->_nb_of_elem.
References MEDCoupling::DataArrayTuple< Int32 >::buildDA().