SECEditLineColPair Class

class SECEditLineColPair

SECEditLineColPair defines a line/column pair

Defined in: SECEditLineCol.h

Class Members

Construction

EDIT_API SECEditLineColPair()

Default constructor.

EDIT_API SECEditLineColPair(SECEditLineCol lcStart, SECEditLineCol lcEnd)

Initializing constructor.

EDIT_API SECEditLineColPair(int nStartLine, int nStartCol, int nEndLine = 0, int nEndCol = 0)

Initializing constructor

Attributes

EDIT_API SECEditLineColPair GetNormalizedLCP() const

Returns a copy of this object sorted by line.

EDIT_API BOOL IsNormalized() const

Is this Line/Col pair sorted by line and then column?

EDIT_API void SetEndLineCol(int nEndLine, int nEndCol)

Sets the ending line/col of this line/col pair.

EDIT_API void SetStartLineCol(int nStartLine, int nStartCol)

Gets the starting line/col of this line/col pair.

Operations

EDIT_API BOOL Adjust(const SECEditLineColPair& lcp, BOOL bAdding)

Adjust this line/col pair based on the SECEditLineColPair operation

EDIT_API BOOL LineColInPair(const SECEditLineCol& lc) const

EDIT_API BOOL operator<(const SECEditLineColPair& rhs) const

EDIT_API BOOL operator>(const SECEditLineColPair& rhs) const

EDIT_API BOOL operator>=(const SECEditLineColPair& rhs) const

EDIT_API BOOL operator<=(const SECEditLineColPair& rhs) const

EDIT_API BOOL operator==(const SECEditLineColPair& rhs) const

EDIT_API BOOL operator!=(const SECEditLineColPair& rhs) const

EDIT_API BOOL operator<(const SECEditLineCol& rhs) const

EDIT_API BOOL operator>(const SECEditLineCol& rhs) const

EDIT_API BOOL operator>=(const SECEditLineCol& rhs) const

EDIT_API BOOL operator<=(const SECEditLineCol& rhs) const

EDIT_API BOOL operator==(const SECEditLineCol& rhs) const

EDIT_API 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.