librime 1.2
Rime Input Method Engine, the core library
Darts::Details::Keyset< T > Class Template Reference

#include <darts.h>

Public Member Functions

 Keyset (std::size_t num_keys, const char_type *const *keys, const std::size_t *lengths, const T *values)
std::size_t num_keys () const
const char_typekeys (std::size_t id) const
uchar_type keys (std::size_t key_id, std::size_t char_id) const
bool has_lengths () const
std::size_t lengths (std::size_t id) const
bool has_values () const
const value_type values (std::size_t id) const

Constructor & Destructor Documentation

◆ Keyset()

template<typename T>
Darts::Details::Keyset< T >::Keyset ( std::size_t num_keys,
const char_type *const * keys,
const std::size_t * lengths,
const T * values )
inline

Member Function Documentation

◆ has_lengths()

template<typename T>
bool Darts::Details::Keyset< T >::has_lengths ( ) const
inline

◆ has_values()

template<typename T>
bool Darts::Details::Keyset< T >::has_values ( ) const
inline

◆ keys() [1/2]

template<typename T>
const char_type * Darts::Details::Keyset< T >::keys ( std::size_t id) const
inline

◆ keys() [2/2]

template<typename T>
uchar_type Darts::Details::Keyset< T >::keys ( std::size_t key_id,
std::size_t char_id ) const
inline

◆ lengths()

template<typename T>
std::size_t Darts::Details::Keyset< T >::lengths ( std::size_t id) const
inline

◆ num_keys()

template<typename T>
std::size_t Darts::Details::Keyset< T >::num_keys ( ) const
inline

◆ values()

template<typename T>
const value_type Darts::Details::Keyset< T >::values ( std::size_t id) const
inline

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