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

void FileWriter::WriteString ( const char *  format,
  ... 
)

Write a line of text to the stream.

Parameters:
formatthe format of the written string
...the data to actually write

Definition at line 139 of file io.cpp.

References file, and filename.

Referenced by WriteSFO().

{
      assert(this->file != NULL);

      va_list ap;

      va_start(ap, format);
      if (vfprintf(this->file, format, ap) < 0) {
            throw "Unexpected failure while writing to " + this->filename;
      }
      va_end(ap);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index