#include <scim_lookup_table.h>
Inheritance diagram for scim::CommonLookupTable:


Public Member Functions | |
| CommonLookupTable (int page_size=10) | |
| CommonLookupTable (int page_size, const std::vector< WideString > &labels) | |
| Constructor. | |
| ~CommonLookupTable () | |
| virtual WideString | get_candidate (int index) const |
| Get a candidate. | |
| virtual AttributeList | get_attributes (int index) const |
| Get the attributes of a candidate. | |
| virtual uint32 | number_of_candidates () const |
| Return the number of candidates in this table. | |
| virtual void | clear () |
| Clear the table. | |
| bool | append_candidate (const WideString &cand, const AttributeList &attrs=AttributeList()) |
| Append a candidate string into the table. | |
| bool | append_candidate (ucs4_t cand, const AttributeList &attrs=AttributeList()) |
| Append a candidate char into the table. | |
This class implements the LookupTable interface in a common way.
|
|
|
|
||||||||||||
|
Constructor.
|
|
|
|
|
|
Get a candidate.
Implements scim::LookupTable. |
|
|
Get the attributes of a candidate.
Implements scim::LookupTable. |
|
|
Return the number of candidates in this table.
Implements scim::LookupTable. |
|
|
Clear the table.
Implements scim::LookupTable. |
|
||||||||||||
|
Append a candidate string into the table.
|
|
||||||||||||
|
Append a candidate char into the table.
|
1.4.6