Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPVT_WordPlace Struct Reference

#include <cpvt_wordplace.h>

+ Collaboration diagram for CPVT_WordPlace:

Public Member Functions

 CPVT_WordPlace ()=default
 
 CPVT_WordPlace (int32_t other_nSecIndex, int32_t other_nLineIndex, int32_t other_nWordIndex)
 
void Reset ()
 
void AdvanceSection ()
 
bool operator== (const CPVT_WordPlace &wp) const
 
bool operator!= (const CPVT_WordPlace &wp) const
 
bool operator< (const CPVT_WordPlace &wp) const
 
bool operator> (const CPVT_WordPlace &wp) const
 
bool operator<= (const CPVT_WordPlace &wp) const
 
bool operator>= (const CPVT_WordPlace &wp) const
 
int32_t LineCmp (const CPVT_WordPlace &wp) const
 

Public Attributes

int32_t nSecIndex = -1
 
int32_t nLineIndex = -1
 
int32_t nWordIndex = -1
 

Detailed Description

Definition at line 12 of file cpvt_wordplace.h.

Constructor & Destructor Documentation

◆ CPVT_WordPlace() [1/2]

CPVT_WordPlace::CPVT_WordPlace ( )
default

Referenced by CPVT_VariableText::GetBeginWordPlace(), CPVT_VariableText::GetEndWordPlace(), CPWL_EditImpl::SearchWordPlace(), and CPWL_EditImpl::WordIndexToWordPlace().

+ Here is the caller graph for this function:

◆ CPVT_WordPlace() [2/2]

CPVT_WordPlace::CPVT_WordPlace ( int32_t other_nSecIndex,
int32_t other_nLineIndex,
int32_t other_nWordIndex )
inline

Member Function Documentation

◆ AdvanceSection()

void CPVT_WordPlace::AdvanceSection ( )
inline

Definition at line 28 of file cpvt_wordplace.h.

References nLineIndex, nSecIndex, and nWordIndex.

Referenced by CPVT_VariableText::GetDownWordPlace().

+ Here is the caller graph for this function:

◆ LineCmp()

int32_t CPVT_WordPlace::LineCmp ( const CPVT_WordPlace & wp) const
inline

Definition at line 62 of file cpvt_wordplace.h.

References nLineIndex, and nSecIndex.

Referenced by CPWL_EditImpl::DrawEdit(), and CPWL_EditImpl::RefreshWordRange().

+ Here is the caller graph for this function:

◆ operator!=()

bool CPVT_WordPlace::operator!= ( const CPVT_WordPlace & wp) const
inline

Definition at line 38 of file cpvt_wordplace.h.

References operator==().

Referenced by CPWL_EditImpl::OnVK_DOWN(), CPWL_EditImpl::OnVK_LEFT(), CPWL_EditImpl::OnVK_RIGHT(), and CPWL_EditImpl::OnVK_UP().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<()

bool CPVT_WordPlace::operator< ( const CPVT_WordPlace & wp) const
inline

Definition at line 41 of file cpvt_wordplace.h.

References nLineIndex, nSecIndex, and nWordIndex.

Referenced by CPVT_VariableText::GetNextWordPlace(), CPWL_EditImpl::GetSelection(), CPWL_EditImpl::OnVK_LEFT(), and operator<=().

+ Here is the caller graph for this function:

◆ operator<=()

bool CPVT_WordPlace::operator<= ( const CPVT_WordPlace & wp) const
inline

Definition at line 55 of file cpvt_wordplace.h.

References operator<(), and operator==().

Referenced by CPVT_Section::ClearWords(), and CPWL_EditImpl::DrawEdit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==()

bool CPVT_WordPlace::operator== ( const CPVT_WordPlace & wp) const
inline

Definition at line 34 of file cpvt_wordplace.h.

References nLineIndex, nSecIndex, and nWordIndex.

Referenced by CPVT_WordRange::IsEmpty(), CPWL_EditImpl::OnMouseMove(), operator!=(), operator<=(), CPVT_WordRange::operator==(), and operator>=().

+ Here is the caller graph for this function:

◆ operator>()

bool CPVT_WordPlace::operator> ( const CPVT_WordPlace & wp) const
inline

Definition at line 48 of file cpvt_wordplace.h.

References nLineIndex, nSecIndex, and nWordIndex.

Referenced by CPWL_EditImpl::DrawEdit(), CPVT_VariableText::GetPrevWordPlace(), CPWL_EditImpl::GetRangeText(), CPVT_WordRange::Normalize(), CPWL_EditImpl::OnVK_RIGHT(), operator>=(), and CPWL_EditImpl::RefreshWordRange().

+ Here is the caller graph for this function:

◆ operator>=()

bool CPVT_WordPlace::operator>= ( const CPVT_WordPlace & wp) const
inline

Definition at line 58 of file cpvt_wordplace.h.

References operator==(), and operator>().

Referenced by CPVT_Section::ClearWords().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Reset()

void CPVT_WordPlace::Reset ( )
inline

Definition at line 22 of file cpvt_wordplace.h.

References nLineIndex, nSecIndex, and nWordIndex.

Member Data Documentation

◆ nLineIndex

◆ nSecIndex

◆ nWordIndex


The documentation for this struct was generated from the following file: