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

void Compression::wstring_write ( wstring const &  str,
FILE *  output 
) [static]

This method allows to write a wide string to an output stream using its UCSencoding as integer.

See also:
strthe string to write.
outputthe output stream.

Definition at line 239 of file compression.cc.

References multibyte_write().

Referenced by Alphabet::write(), PatternList::write(), TMXCompiler::write(), and Compiler::write().

  Compression::multibyte_write(str.size(), output);
  for(unsigned int i = 0, limit = str.size(); i != limit; i++)
    Compression::multibyte_write(static_cast<int>(str[i]), output);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index