Classes | Public Member Functions | Private Attributes

UT_Bijection Class Reference

#include <ut_bijection.h>

List of all members.

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

Constructor & Destructor Documentation

UT_Bijection::UT_Bijection (  ) 

References m_first, m_n, and m_second.

UT_Bijection::~UT_Bijection (  ) 

References clear().


Member Function Documentation

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  ) 
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::nth1 ( size_t  idx  )  const

References m_first, and size().

const char * UT_Bijection::nth2 ( size_t  idx  )  const
size_t UT_Bijection::size (  )  const

Member Data Documentation

char** UT_Bijection::m_first [private]
int UT_Bijection::m_n [private]
char** UT_Bijection::m_second [private]

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