#include <MEDCouplingMemArray.hxx>
◆ DataArrayInt32Tuple()
| DataArrayInt32Tuple::DataArrayInt32Tuple |
( |
Int32 * |
pt, |
|
|
std::size_t |
nbOfComp |
|
) |
| |
◆ repr()
| std::string DataArrayInt32Tuple::repr |
( |
| ) |
const |
◆ intValue()
| Int32 DataArrayInt32Tuple::intValue |
( |
| ) |
const |
◆ buildDAInt()
| 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().