_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <vector>Go to the source code of this file.
Classes | |
| class | FileException |
| class | FileWriter |
| class | FileList |
| class | CFile |
iolib.h - The iolib functions header file. | |
| #define | CL_OPEN_READ 0x1 |
| #define | CL_OPEN_WRITE 0x2 |
| #define | CL_WRITE_GZ 0x4 |
| #define | CL_WRITE_BZ2 0x8 |
| enum | { CLF_TYPE_INVALID, CLF_TYPE_PLAIN, CLF_TYPE_GZIP, CLF_TYPE_BZIP2 } |
| FileWriter * | CreateFileWriter (const std::string &filename) |
| std::string | LibraryFileName (const char *file) |
| Build library path name. More... | |
| bool | CanAccessFile (const char *filename) |
| int | ReadDataDirectory (const char *dirname, std::vector< FileList > &flp) |
| Read the contents of a directory. More... | |
| #define CL_OPEN_READ 0x1 |
| #define CL_OPEN_WRITE 0x2 |
| #define CL_WRITE_BZ2 0x8 |
| #define CL_WRITE_GZ 0x4 |
| anonymous enum |
| bool CanAccessFile | ( | const char * | filename | ) |
| FileWriter* CreateFileWriter | ( | const std::string & | filename | ) |
Create a file writer object that works for the given file name.
If the file name ends with '.gz', the file writer returned will compress the data with zlib.
Create FileWriter
| std::string LibraryFileName | ( | const char * | file | ) |
Build library path name.
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.