compression_schema Struct Reference

Holds the schema by which config objects can be compressed and decompressed. More...

#include <binary_wml.hpp>

List of all members.

Public Types

typedef std::map< unsigned int,
std::string > 
char_word_map
typedef std::map< std::string,
unsigned int > 
word_char_map

Public Member Functions

 compression_schema ()

Public Attributes

char_word_map char_to_word
word_char_map word_to_char


Detailed Description

Holds the schema by which config objects can be compressed and decompressed.

Definition at line 27 of file binary_wml.hpp.


Member Typedef Documentation

typedef std::map< unsigned int, std::string > compression_schema::char_word_map

Definition at line 31 of file binary_wml.hpp.

typedef std::map< std::string, unsigned int > compression_schema::word_char_map

Definition at line 34 of file binary_wml.hpp.


Constructor & Destructor Documentation

compression_schema::compression_schema (  )  [inline]

Definition at line 29 of file binary_wml.hpp.


Member Data Documentation

Definition at line 32 of file binary_wml.hpp.

Referenced by add_word_to_schema(), and read_compressed_internal().

Definition at line 35 of file binary_wml.hpp.

Referenced by add_word_to_schema(), compress_emit_word(), and get_word_in_schema().


The documentation for this struct was generated from the following file:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs