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

void FSTProcessor::writeEscaped ( wstring const &  str,
FILE *  output 
) [private]

Write a string to an output stream,

str the string to write scaping characters
output the stream to write in

Definition at line 377 of file fst_processor.cc.

References escaped_chars.

Referenced by printUnknownWord(), and printWord().

  for(unsigned int i = 0, limit = str.size(); i < limit; i++)
    if(escaped_chars.find(str[i]) != escaped_chars.end())
      fputwc_unlocked(L'\\', output);
    fputwc_unlocked(str[i], output);

Generated by  Doxygen 1.6.0   Back to index