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

int Alphabet::operator() ( char const   c1,
string const &  s2 
)

Get an unique code for every symbol pair. This flavour is for (character, string) pairs.

Parameters:
c1 left symbol.
s2 right symbol.
Returns:
code for (c1, s2).

Definition at line 100 of file Alphabet.C.

{
  string s1 = " ";
  s1[0] = c1;

  return (*this)(s1, s2);
}


Generated by  Doxygen 1.6.0   Back to index