Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

TSystem Class Reference

The general interface for systems. More...

#include <system.h>

Inheritance diagram for TSystem:

Inheritance graph
[legend]
Collaboration diagram for TSystem:

Collaboration graph
[legend]
List of all members.

Public Methods

 TSystem (const TPoint &Pos=0)
virtual ~TSystem ()
virtual int2 getType () const
virtual const string & getTypeName () const
virtual bool load (TDataPackageList *in)
virtual bool save (TDataPackageList *out) const

Protected Attributes

TPList< TPlanetfPlanets

Detailed Description

The general interface for systems.

Author:
Marco Krohn <marco.krohn@gmx.de>
Version:
Id:
system.h,v 1.9 2002/05/15 08:30:55 ishark Exp
See also:
TStellarObject, TSystemBasic
FIXME


Member Function Documentation

virtual int2 TSystem::getType   const [virtual]
 

Returns:
The type of the stellar object, here: TType::SYSTEM.
See also:
TType

Reimplemented from TStellarObject.

virtual const string& TSystem::getTypeName   const [virtual]
 

Returns:
The name of the class: "TSystem".

Reimplemented from TStellarObject.

virtual bool TSystem::load TDataPackageList   in [virtual]
 

Loads a system from a list of data package.

Parameters:
in  The input "stream" of data packages.
Returns:
true means that everything was loaded correctly, otherwise this method will return false.

Reimplemented from TStellarObject.

virtual bool TSystem::save TDataPackageList   out const [virtual]
 

Saves a system to a list of data package.

Parameters:
in  The output "stream" of data packages.
Returns:
true means that everything was saved correctly, otherwise this method will return false.

Reimplemented from TStellarObject.


The documentation for this class was generated from the following file:
Generated on Thu Jun 20 18:13:37 2002 for Stellar Legacy by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001