#include <ut_bijection.h>
Classes | |
struct | pair_data |
Public Member Functions | |
UT_Bijection () | |
~UT_Bijection () | |
const char * | lookupByTarget (const char *s) const |
const char * | lookupBySource (const char *s) const |
void | add (const char *f, const char *s) |
void | add (const pair_data *items) |
size_t | size () const |
const char * | nth1 (size_t idx) const |
const char * | nth2 (size_t idx) const |
void | clear () |
Private Attributes | |
int | m_n |
char ** | m_first |
char ** | m_second |
UT_Bijection::~UT_Bijection | ( | ) |
References clear().
void UT_Bijection::add | ( | const char * | f, | |
const char * | s | |||
) |
References m_first, m_n, and m_second.
Referenced by add(), and XAP_EncodingManager::initialize().
void UT_Bijection::add | ( | const pair_data * | items | ) |
References add(), UT_Bijection::pair_data::s1, and UT_Bijection::pair_data::s2.
void UT_Bijection::clear | ( | void | ) |
References m_first, m_n, and m_second.
Referenced by XAP_EncodingManager::initialize(), and ~UT_Bijection().
const char * UT_Bijection::lookupBySource | ( | const char * | s | ) | const |
References m_first, m_n, and m_second.
Referenced by EV_UnixToolbar::refreshToolbar().
const char * UT_Bijection::lookupByTarget | ( | const char * | s | ) | const |
References m_first, m_n, and m_second.
Referenced by _wd::s_combo_apply_changes().
const char * UT_Bijection::nth2 | ( | size_t | idx | ) | const |
References m_second, and size().
Referenced by XAP_UnixDialog_FontChooser::constructWindowContents().
size_t UT_Bijection::size | ( | ) | const |
char** UT_Bijection::m_first [private] |
Referenced by add(), clear(), lookupBySource(), lookupByTarget(), nth1(), and UT_Bijection().
int UT_Bijection::m_n [private] |
Referenced by add(), clear(), lookupBySource(), lookupByTarget(), size(), and UT_Bijection().
char** UT_Bijection::m_second [private] |
Referenced by add(), clear(), lookupBySource(), lookupByTarget(), nth2(), and UT_Bijection().