Logo Search packages:      
Sourcecode: lttoolbox version File versions  Download package

string const & Alphabet::getSymbol ( int const   symbol,
bool  uppercase = false 
) const

Gets a symbol from their code.

symbol code of the symbol
uppercase true if we want an uppercase symbol
the symbol

Definition at line 241 of file Alphabet.C.

References size(), and slexicinv.

    if(slexicinv[symbol].size() == 1)
      return slexicinv[toupper(symbol)];
  return slexicinv[symbol];

Generated by  Doxygen 1.6.0   Back to index