Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::CellRange Class Reference

#include <vcf/ApplicationKit/TableControl.h>

List of all members.

Public Member Functions

 CellRange (int minRow=-1, int minCol=-1, int maxRow=-1, int maxCol=-1)
void set (int minRow=-1, int minCol=-1, int maxRow=-1, int maxCol=-1)
bool isValid () const
bool inRange (int row, int col) const
bool inRange (const CellID &cellID) const
int count ()
CellID getTopLeft () const
CellRange intersect (const CellRange &rhs) const
int getMinRow () const
void setMinRow (int minRow)
int getMinCol () const
void setMinCol (int minCol)
int getMaxRow () const
void setMaxRow (int maxRow)
int getMaxCol () const
void setMaxCol (int maxCol)
int getRowSpan () const
int getColSpan () const
CellRangeoperator= (const CellRange &rhs)
bool operator== (const CellRange &rhs) const
bool operator!= (const CellRange &rhs) const

Protected Attributes

int minRow_
int minCol_
int maxRow_
int maxCol_


Constructor & Destructor Documentation

VCF::CellRange::CellRange int  minRow = -1,
int  minCol = -1,
int  maxRow = -1,
int  maxCol = -1
[inline]
 


Member Function Documentation

int VCF::CellRange::count  )  [inline]
 

int VCF::CellRange::getColSpan  )  const [inline]
 

int VCF::CellRange::getMaxCol  )  const [inline]
 

int VCF::CellRange::getMaxRow  )  const [inline]
 

int VCF::CellRange::getMinCol  )  const [inline]
 

int VCF::CellRange::getMinRow  )  const [inline]
 

int VCF::CellRange::getRowSpan  )  const [inline]
 

CellID VCF::CellRange::getTopLeft  )  const [inline]
 

bool VCF::CellRange::inRange const CellID cellID  )  const [inline]
 

bool VCF::CellRange::inRange int  row,
int  col
const [inline]
 

CellRange VCF::CellRange::intersect const CellRange rhs  )  const [inline]
 

bool VCF::CellRange::isValid  )  const [inline]
 

bool VCF::CellRange::operator!= const CellRange rhs  )  const [inline]
 

CellRange& VCF::CellRange::operator= const CellRange rhs  )  [inline]
 

bool VCF::CellRange::operator== const CellRange rhs  )  const [inline]
 

void VCF::CellRange::set int  minRow = -1,
int  minCol = -1,
int  maxRow = -1,
int  maxCol = -1
[inline]
 

void VCF::CellRange::setMaxCol int  maxCol  )  [inline]
 

void VCF::CellRange::setMaxRow int  maxRow  )  [inline]
 

void VCF::CellRange::setMinCol int  minCol  )  [inline]
 

void VCF::CellRange::setMinRow int  minRow  )  [inline]
 


Member Data Documentation

int VCF::CellRange::maxCol_ [protected]
 

int VCF::CellRange::maxRow_ [protected]
 

int VCF::CellRange::minCol_ [protected]
 

int VCF::CellRange::minRow_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information