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

Public Member Functions | List of all members
FileWriter Class Referenceabstract

#include <iolib.h>

Inheritance diagram for FileWriter:
GzFileWriter RawFileWriter

Public Member Functions

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

Detailed Description

Abstract class representing files one can write to.

Constructor & Destructor Documentation

◆ ~FileWriter()

virtual FileWriter::~FileWriter ( )
inlinevirtual

Member Function Documentation

◆ printf()

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

◆ write()

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

Implemented in GzFileWriter, and RawFileWriter.


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