Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Doomwad::WadGroup Class Reference

List of all members.

Detailed Description

Group of Wad objects.

See also:
Wad
Very simply, a WadGroup is a list of Wads. Often, Wad editors will have several files loaded at once. The game itself does this frequently, by loading an IWAD and using a PWAD file to overwrite maps, for example.

This class adds functionality to merge Wad objects intelligently and to obtain a master directory of all of its Wad objects.

Definition at line 78 of file wadgroup.hpp.

Public Member Functions

std::string getMasterDirectory (char= '\n') const throw ()
 Get a master directory listing of entries.
bool makeGroupedWad (Wad &) const throw ()
 Group the Wads in this group into a single Wad.
 WadGroup (const Wad &) throw ()
 Construct from a single Wad.


Constructor & Destructor Documentation

WadGroup::WadGroup const Wad wad  )  throw ()
 

Construct from a single Wad.

Parameters:
wad Wad to insert.

Definition at line 49 of file wadgroup.cpp.


Member Function Documentation

std::string WadGroup::getMasterDirectory char  delimiter = '\n'  )  const throw ()
 

Get a master directory listing of entries.

Parameters:
delimiter Character to insert between lump names.
Returns:
std::string containing the directory in text format.

Definition at line 61 of file wadgroup.cpp.

References Doomwad::Wad::getWadDirectory().

bool WadGroup::makeGroupedWad Wad wad  )  const throw ()
 

Group the Wads in this group into a single Wad.

Parameters:
wad Wad object containing the grouped Wad. Will be overwritten.
Returns:
True if successful, false if not.

Definition at line 75 of file wadgroup.cpp.


Generated on Fri Jun 10 19:38:52 2005 for libdoomwad by  doxygen 1.4.0