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

unitset.h File Reference

#include <vector>
#include "ascstring.h"
#include "typen.h"

Include dependency graph for unitset.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef deallocating_vector<
SingleUnitSet * > 
UnitSets

Functions

void loadUnitSets (void)
int getUnitSetID (const Vehicletype *veh)
int getUnitSetID (const BuildingType *bld)
bool vehicleComp (const Vehicletype *v1, const Vehicletype *v2)

Variables

UnitSets unitSets


Typedef Documentation

typedef deallocating_vector<SingleUnitSet*> UnitSets
 

Definition at line 60 of file unitset.h.


Function Documentation

int getUnitSetID const BuildingType bld  ) 
 

Definition at line 225 of file unitset.cpp.

References SingleUnitSet::building, and ContainerBaseType::id.

int getUnitSetID const Vehicletype veh  ) 
 

Definition at line 216 of file unitset.cpp.

References ContainerBaseType::id, and SingleUnitSet::unit.

void loadUnitSets void   ) 
 

Definition at line 190 of file unitset.cpp.

References displayLogMessage(), tfindfile::getnextname(), SingleUnitSet::read(), tnstream::reading, and unitSets.

Referenced by loaddata().

bool vehicleComp const Vehicletype v1,
const Vehicletype v2
 

Definition at line 234 of file unitset.cpp.

References getUnitSetID(), Vehicletype::movemalustyp, and ContainerBaseType::name.

Referenced by VehicleTypeSelectionItemFactory::restart(), showUnitEndurance(), sortItems(), and VehicleCounterFactory::VehicleCounterFactory().


Variable Documentation

UnitSets unitSets
 

Definition at line 211 of file unitset.cpp.

Referenced by loadUnitSets(), and viewUnitSetinfo().


Generated on Tue Jun 24 02:14:17 2008 for Advanced Strategic Command by  doxygen 1.4.2