Fcitx
Public Member Functions | List of all members
fcitx::BulkCandidateList Class Referenceabstract
Inheritance diagram for fcitx::BulkCandidateList:
Inheritance graph
[legend]

Public Member Functions

virtual const CandidateWordcandidateFromAll (int idx) const =0
 If idx is out of range, it may raise exception. More...
 
virtual int totalSize () const =0
 It's possible for this function to return -1 if the implement has no clear number how many candidates are available.
 

Detailed Description

Definition at line 152 of file candidatelist.h.

Member Function Documentation

◆ candidateFromAll()

virtual const CandidateWord& fcitx::BulkCandidateList::candidateFromAll ( int  idx) const
pure virtual

If idx is out of range, it may raise exception.

Catching the exception is useful to iterate over all candidate list for candidate list has no total size.

Implemented in fcitx::CommonCandidateList.


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