MWAWPictBitmapContainerBool Class Referencefinal

a bool container with a function to put packed row More...

#include <MWAWPictBitmap.hxx>

Inheritance diagram for MWAWPictBitmapContainerBool:
MWAWPictBitmapContainer< bool >

Public Member Functions

 MWAWPictBitmapContainerBool (MWAWVec2i const &sz)
 constructor More...
 
 ~MWAWPictBitmapContainerBool () final
 destructor More...
 
int cmp (MWAWPictBitmapContainerBool const &orig) const
 a comparison operator More...
 
void setRowPacked (int j, unsigned char const *val, unsigned char const *end)
 allows to use packed m_data More...
 
- Public Member Functions inherited from MWAWPictBitmapContainer< bool >
 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< bool > const &orig) const
 a comparison operator More...
 
const MWAWVec2isize () const
 return the array size More...
 
int numRows () const
 gets the number of row More...
 
int numColumns () const
 gets the number of column More...
 
const bool & get (int i, int j) const
 accessor of a cell m_data More...
 
const bool * getRow (int j) const
 accessor of a row m_data More...
 
void set (int i, int j, bool const &v)
 sets a cell m_data More...
 
void setRow (int j, U const *val)
 sets a line of m_data More...
 
void setColumn (int i, U const *val)
 sets a column of m_data More...
 

Additional Inherited Members

- Protected Attributes inherited from MWAWPictBitmapContainer< bool >
MWAWVec2i m_size
 the size More...
 
bool * m_data
 the m_data placed by row ie. d_00, d_10, ... , d_{X-1}0, .. More...
 

Detailed Description

a bool container with a function to put packed row

Constructor & Destructor Documentation

◆ MWAWPictBitmapContainerBool()

MWAWPictBitmapContainerBool::MWAWPictBitmapContainerBool ( MWAWVec2i const &  sz)
inlineexplicit

constructor

◆ ~MWAWPictBitmapContainerBool()

MWAWPictBitmapContainerBool::~MWAWPictBitmapContainerBool ( )
final

destructor

Member Function Documentation

◆ cmp()

int MWAWPictBitmapContainerBool::cmp ( MWAWPictBitmapContainerBool const &  orig) const
inline

a comparison operator

Referenced by MWAWPictBitmapBW::cmp().

◆ setRowPacked()

void MWAWPictBitmapContainerBool::setRowPacked ( int  j,
unsigned char const *  val,
unsigned char const *  end 
)
inline

allows to use packed m_data

Referenced by MWAWPictBitmapBW::setRowPacked().


The documentation for this class was generated from the following files:

Generated on Mon Jan 20 2020 22:50:13 for libmwaw by doxygen 1.8.16