$treeview $search $mathjax
Stratagus  2.2.6
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
           Stratagus - A free fantasy real time strategy game engine

FileWriter Class Reference

#include <iolib.h>

Inheritance diagram for FileWriter:

GzFileWriter RawFileWriter

List of all members.


Public Member Functions

virtual ~FileWriter ()
virtual int write (const char *data, unsigned int size)=0
iolib.cpp - Compression-IO helper functions.
void printf (const char *format,...)

Detailed Description

Abstract class representing files one can write to.

Constructor & Destructor Documentation

virtual FileWriter::~FileWriter (  )  [inline, virtual]


Member Function Documentation

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

virtual int FileWriter::write ( const char *  data,
unsigned int  size 
) [pure virtual]

Implemented in RawFileWriter, and GzFileWriter.


The documentation for this class was generated from the following files:
(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.