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

int Alphabet::operator() ( string const &  s1,
char const   c2 
)

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

Parameters:
s1 left symbol.
c2 right symbol.
Returns:
code for (s1, c2).

Definition at line 91 of file Alphabet.C.

{
  string s2 = " ";
  s2[0] = c2;

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


Generated by  Doxygen 1.6.0   Back to index