{
std::size_t sz(_mem.getNbOfElemAllocated());
sz*=sizeof(T);
- return this->getHeapMemorySizeWithoutChildren()+sz;
+ return DataArray::getHeapMemorySizeWithoutChildren()+sz;
}
/*!
template<class T>
void DataArrayTemplateClassic<T>::reprWithoutNameStream(std::ostream& stream) const
{
- this->reprWithoutNameStream(stream);
+ DataArray::reprWithoutNameStream(stream);
ImplReprTraits<T>::SetPrecision(stream);
this->_mem.repr(this->getNumberOfComponents(),stream);
}
template<class T>
void DataArrayTemplateClassic<T>::reprZipWithoutNameStream(std::ostream& stream) const
{
- this->reprWithoutNameStream(stream);
+ DataArray::reprWithoutNameStream(stream);
ImplReprTraits<T>::SetPrecision(stream);
this->_mem.reprZip(this->getNumberOfComponents(),stream);
}
template<class T>
void DataArrayTemplateClassic<T>::reprNotTooLongWithoutNameStream(std::ostream& stream) const
{
- this->reprWithoutNameStream(stream);
+ DataArray::reprWithoutNameStream(stream);
ImplReprTraits<T>::SetPrecision(stream);
this->_mem.reprNotTooLong(this->getNumberOfComponents(),stream);
}
template<class T>
typename Traits<T>::ArrayType *DataArrayDiscrete<T>::New()
{
- return nullptr;//new typename Traits<T>::ArrayType;
+ return new typename Traits<T>::ArrayType;
}
/*!