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

int Alphabet::operator() ( char const   c1,
char const   c2 
)

Get an unique code for every symbol pair. This flavour is for character pairs.

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

Definition at line 109 of file Alphabet.C.

{
  string s1 = " ";
  string s2 = " ";
  
  s1[0] = c1;
  s2[0] = c2;
   
  return (*this)(s1, s2);
}


Generated by  Doxygen 1.6.0   Back to index