a template class to store a 2D array of m_data More...
#include <MWAWPictBitmap.hxx>
| Public Member Functions | |
| MWAWPictBitmapContainer (MWAWVec2i const &sz) | |
| constructor given size  More... | |
| virtual | ~MWAWPictBitmapContainer () | 
| destructor  More... | |
| bool | ok () const | 
| returns ok, if the m_data is allocated  More... | |
| int | cmp (MWAWPictBitmapContainer< T > const &orig) const | 
| a comparison operator  More... | |
| MWAWVec2i const & | size () const | 
| return the array size  More... | |
| int | numRows () const | 
| gets the number of row  More... | |
| int | numColumns () const | 
| gets the number of column  More... | |
| T const & | get (int i, int j) const | 
| accessor of a cell m_data  More... | |
| T const * | getRow (int j) const | 
| accessor of a row m_data  More... | |
| void | set (int i, int j, T const &v) | 
| sets a cell m_data  More... | |
| template<class U > | |
| void | setRow (int j, U const *val) | 
| sets a line of m_data  More... | |
| template<class U > | |
| void | setColumn (int i, U const *val) | 
| sets a column of m_data  More... | |
| Protected Attributes | |
| MWAWVec2i | m_size | 
| the size  More... | |
| T * | m_data | 
| the m_data placed by row ie. d_00, d_10, ... , d_{X-1}0, ..  More... | |
| Private Member Functions | |
| MWAWPictBitmapContainer (MWAWPictBitmapContainer const &orig)=delete | |
| MWAWPictBitmapContainer & | operator= (MWAWPictBitmapContainer const &orig)=delete | 
a template class to store a 2D array of m_data
| 
 | inlineexplicit | 
constructor given size
| 
 | inlinevirtual | 
destructor
| 
 | privatedelete | 
| 
 | inline | 
a comparison operator
Referenced by MWAWPictBitmapIndexed::cmp(), and MWAWPictBitmapColor::cmp().
| 
 | inline | 
accessor of a cell m_data
Referenced by MWAWPictBitmapBW::get(), MWAWPictBitmapIndexed::get(), and MWAWPictBitmapColor::get().
| 
 | inline | 
accessor of a row m_data
Referenced by MWAWPictBitmapInternal::getBMPData(), MWAWPictBitmapInternal::getPBMData(), MWAWPictBitmapInternal::getPPMData(), MWAWPictBitmapBW::getRow(), MWAWPictBitmapIndexed::getRow(), and MWAWPictBitmapColor::getRow().
| 
 | inline | 
gets the number of column
Referenced by MWAWPictBitmapBW::numColumns(), MWAWPictBitmapIndexed::numColumns(), and MWAWPictBitmapColor::numColumns().
| 
 | inline | 
gets the number of row
Referenced by MWAWPictBitmapBW::numRows(), MWAWPictBitmapIndexed::numRows(), and MWAWPictBitmapColor::numRows().
| 
 | inline | 
returns ok, if the m_data is allocated
Referenced by MWAWPictBitmapBW::valid(), MWAWPictBitmapIndexed::valid(), and MWAWPictBitmapColor::valid().
| 
 | privatedelete | 
| 
 | inline | 
sets a cell m_data
Referenced by MWAWPictBitmapBW::set(), MWAWPictBitmapIndexed::set(), and MWAWPictBitmapColor::set().
| 
 | inline | 
sets a column of m_data
Referenced by MWAWPictBitmapBW::setColumn(), MWAWPictBitmapIndexed::setColumn(), and MWAWPictBitmapColor::setColumn().
| 
 | inline | 
sets a line of m_data
Referenced by MWAWPictBitmapBW::setRow(), MWAWPictBitmapIndexed::setRow(), and MWAWPictBitmapColor::setRow().
| 
 | inline | 
return the array size
Referenced by MWAWPictBitmapInternal::getBMPData(), MWAWPictBitmapInternal::getPBMData(), MWAWPictBitmapInternal::getPPMData(), MWAWPictBitmapBW::size(), MWAWPictBitmapIndexed::size(), and MWAWPictBitmapColor::size().
| 
 | protected | 
the m_data placed by row ie. d_00, d_10, ... , d_{X-1}0, ..
Referenced by MWAWPictBitmapContainer< bool >::cmp(), MWAWPictBitmapContainer< bool >::get(), MWAWPictBitmapContainer< bool >::getRow(), MWAWPictBitmapContainer< bool >::MWAWPictBitmapContainer(), MWAWPictBitmapContainer< bool >::ok(), MWAWPictBitmapContainer< bool >::set(), MWAWPictBitmapContainer< bool >::setColumn(), MWAWPictBitmapContainer< bool >::setRow(), and MWAWPictBitmapContainer< bool >::~MWAWPictBitmapContainer().
| 
 | protected | 
the size
Referenced by MWAWPictBitmapContainer< bool >::cmp(), MWAWPictBitmapContainer< bool >::get(), MWAWPictBitmapContainer< bool >::getRow(), MWAWPictBitmapContainer< bool >::MWAWPictBitmapContainer(), MWAWPictBitmapContainer< bool >::numColumns(), MWAWPictBitmapContainer< bool >::numRows(), MWAWPictBitmapContainer< bool >::set(), MWAWPictBitmapContainer< bool >::setColumn(), MWAWPictBitmapContainer< bool >::setRow(), and MWAWPictBitmapContainer< bool >::size().