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

LoadableItemType Class Reference

An abstract base class that provides the interface for all loadable items. More...

#include <typen.h>

Inheritance diagram for LoadableItemType:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void read (tnstream &stream)=0
virtual void write (tnstream &stream) const =0
virtual void runTextIO (PropertyContainer &pc)=0
virtual ~LoadableItemType ()

Public Attributes

ASCString filename
 The filename of the item.
ASCString location
 The filename and location on disk (including containerfiles) of the object. Can only be used for informational purposes.

Detailed Description

An abstract base class that provides the interface for all loadable items.

Definition at line 228 of file typen.h.


Constructor & Destructor Documentation

virtual LoadableItemType::~LoadableItemType  )  [inline, virtual]
 

Definition at line 239 of file typen.h.


Member Function Documentation

virtual void LoadableItemType::read tnstream stream  )  [pure virtual]
 

Implemented in BuildingType, ContainerBaseType, ObjectType, TechDependency, TechAdapter, Technology, TerrainType::Weather, TerrainType, and Vehicletype.

virtual void LoadableItemType::runTextIO PropertyContainer pc  )  [pure virtual]
 

Implemented in BuildingType, ContainerBaseType, ObjectType, TechDependency, TechAdapter, Technology, TerrainType::Weather, TerrainType, and Vehicletype.

virtual void LoadableItemType::write tnstream stream  )  const [pure virtual]
 

Implemented in BuildingType, ContainerBaseType, ObjectType, TechDependency, TechAdapter, Technology, TerrainType::Weather, TerrainType, and Vehicletype.


Member Data Documentation

ASCString LoadableItemType::filename
 

The filename of the item.

Definition at line 231 of file typen.h.

Referenced by ObjectStorage< T >::print(), Vehicletype::read(), Vehicletype::runTextIO(), TerrainType::Weather::runTextIO(), ObjectType::runTextIO(), BuildingType::runTextIO(), and viewterraininfo().

ASCString LoadableItemType::location
 

The filename and location on disk (including containerfiles) of the object. Can only be used for informational purposes.

Definition at line 234 of file typen.h.

Referenced by Vehicletype::read(), viewterraininfo(), and viewUnitSetinfo().


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:17:56 2008 for Advanced Strategic Command by  doxygen 1.4.2