SECEditLineColPair Class
class SECEditLineColPair
SECEditLineColPair defines a line/column pairDefined in: SECEditLineCol.h
Class Members
Construction
Default constructor.
SECEditLineColPair(SECEditLineCol lcStart, SECEditLineCol lcEnd)
Initializing constructor.
SECEditLineColPair(int nStartLine, int nStartCol, int nEndLine = 0, int nEndCol = 0)
Initializing constructor
Attributes
SECEditLineColPair GetNormalizedLCP() const
Returns a copy of this object sorted by line.
BOOL IsNormalized() const
Is this Line/Col pair sorted by line and then column?
void SetEndLineCol(int nEndLine, int nEndCol)
Sets the ending line/col of this line/col pair.
void SetStartLineCol(int nStartLine, int nStartCol)
Gets the starting line/col of this line/col pair.
Operations
BOOL Adjust(const SECEditLineColPair& lcp, BOOL bAdding)
Adjust this line/col pair based on the SECEditLineColPair operation
BOOL LineColInPair(const SECEditLineCol& lc) const
BOOL operator<(const SECEditLineColPair& rhs) const
BOOL operator>(const SECEditLineColPair& rhs) const
BOOL operator>=(const SECEditLineColPair& rhs) const
BOOL operator<=(const SECEditLineColPair& rhs) const
BOOL operator==(const SECEditLineColPair& rhs) const
BOOL operator!=(const SECEditLineColPair& rhs) const
BOOL operator<(const SECEditLineCol& rhs) const
BOOL operator>(const SECEditLineCol& rhs) const
BOOL operator>=(const SECEditLineCol& rhs) const
BOOL operator<=(const SECEditLineCol& rhs) const
BOOL operator==(const SECEditLineCol& rhs) const
BOOL operator!=(const SECEditLineCol& rhs) const
Public data members.
SECEditLineCol start
The starting line/col of this line/col pair.
SECEditLineCol end
The ending line/col of this line/col pair.