[Classes] [Prev] [Next] [Methods]

CCell

Methods Index

Heritage
Description
Usage
Protected Data Members
Public Methods
Contructor Methods
Utility Methods
Operator Methods

CCell


Heritage

Superclass: None

Subclasses: None


Description

CCell is a utility point class. In contrast to CPoint, CCell uses integer coordinates, which are more suitable for some applications, such as table cell addressing. It uses long for its coordinate representations so that it can support large coordinate spaces. Note that CCell cannot determine coordinate direction. For example, it does not know whether the vertical coordinate originates from the top or the bottom.


Usage

CCell supports the ==, !=, +, -, +=, and -= operators.


Protected Data Members

long itsV;
long itsH;


Public Methods

Contructor Methods

CCell();
CCell(const CCell& theCell);
CCell(long theH, long theV);

Utility Methods

long V() const;
long H() const;
void V(long theV);
void H(long theH);

Operator Methods

BOOLEAN IsEqual(const CCell& theCell) const;
int operator==(const CCell& theCell) const;
int operator!=(const CCell& theCell) const;
CCell& operator+=(const CCell& theCell);
CCell& operator-=(const CCell& theCell);
CCell operator+(const CCell& theCell) const;
CCell operator-(const CCell& theCell) const;


[Classes] [Prev] [Next] [Methods]

support@xvt.com


Visit our online help desk for tech support

Copyright © 2009, Providence Software Solutions Inc. All rights reserved.