#include <Flex.h>
Inheritance diagram for Flex:


Public Member Functions | |
| Flex (const std::string &fname) | |
| Flex (const Flex &f) | |
| Flex & | operator= (const Flex &f) |
| virtual uint32 | number_of_objects (void) |
| virtual char * | retrieve (uint32 objnum, std::size_t &len) |
| virtual const char * | get_archive_type () |
Static Public Member Functions | |
| static void | write_header (DataSource *out, const char *title, int count) |
| static bool | is_flex (DataSource *in) |
| static bool | is_flex (const char *fname) |
Protected Attributes | |
| char | title [80] |
| uint32 | magic1 |
| uint32 | count |
| uint32 | magic2 |
| uint32 | padding [9] |
| std::vector< Reference > | object_list |
Private Member Functions | |
| Flex () | |
| void | IndexFlexFile (void) |
Classes | |
| struct | Reference |
Definition at line 33 of file Flex.h.
| Flex::Flex | ( | const std::string & | fname | ) |
| Flex::Flex | ( | const Flex & | f | ) | [inline] |
| Flex::Flex | ( | ) | [private] |
| virtual uint32 Flex::number_of_objects | ( | void | ) | [inline, virtual] |
Implements U7file.
Definition at line 65 of file Flex.h.
References object_list.
Referenced by Audio::play_wave_sfx(), Read_flex(), ExultStudio::set_game_path(), Shape_group_file::Shape_group_file(), and Update().
| virtual char* Flex::retrieve | ( | uint32 | objnum, | |
| std::size_t & | len | |||
| ) | [virtual] |
Implements U7file.
Referenced by Audio::play_wave_sfx(), Read_flex(), ExultStudio::set_game_path(), Shape_group_file::Shape_group_file(), and Update().
| virtual const char* Flex::get_archive_type | ( | ) | [inline, virtual] |
| void Flex::write_header | ( | DataSource * | out, | |
| const char * | title, | |||
| int | count | |||
| ) | [static] |
Definition at line 114 of file Flex.cc.
References DataSource::getPos(), DataSource::write(), DataSource::write1(), and DataSource::write4().
Referenced by Flex_writer::Flex_writer(), and Game_map::write_ifix_objects().
Here is the call graph for this function:

| bool Flex::is_flex | ( | DataSource * | in | ) | [static] |
Definition at line 137 of file Flex.cc.
References DataSource::getPos(), DataSource::getSize(), Exult_server::magic, DataSource::read4(), and DataSource::seek().
Referenced by Game_window::get_saveinfo(), is_flex(), and Vga_file::load().
Here is the call graph for this function:

| bool Flex::is_flex | ( | const char * | fname | ) | [static] |
| void Flex::IndexFlexFile | ( | void | ) | [private] |
Definition at line 55 of file Flex.cc.
References count, U7file::filename, magic1, magic2, object_list, padding, title, and U7open().
Here is the call graph for this function:

char Flex::title[80] [protected] |
uint32 Flex::magic1 [protected] |
uint32 Flex::count [protected] |
uint32 Flex::magic2 [protected] |
uint32 Flex::padding[9] [protected] |
std::vector<Reference> Flex::object_list [protected] |
Definition at line 47 of file Flex.h.
Referenced by IndexFlexFile(), number_of_objects(), and operator=().
1.5.1