Advanced Strategic Command
Public Member Functions | Static Public Attributes | List of all members
PackageRepository Class Reference

#include <packagerepository.h>

Inheritance diagram for PackageRepository:
Inheritance graph

Public Member Functions

void readTextFiles (PropertyReadingContainer &prc, const ASCString &fileName, const ASCString &location)
void read (tnstream &stream)
void write (tnstream &stream)
virtual void postChecks ()
ASCString getTypeName ()
void checkPackageDependency (const Package *pack, const PackageData *packageData=NULL)
const PackagegetPackage (const ASCString &name) const
- Public Member Functions inherited from TextFileDataLoader
virtual ~TextFileDataLoader ()
- Public Member Functions inherited from deallocating_vector< Package * >
 ~deallocating_vector ()

Static Public Attributes

static sigc::signal< void > packgeDescriptionLoaded

Detailed Description

Definition at line 29 of file packagerepository.h.

Member Function Documentation

void PackageRepository::checkPackageDependency ( const Package pack,
const PackageData packageData = NULL 
const Package * PackageRepository::getPackage ( const ASCString name) const

Definition at line 110 of file packagerepository.cpp.

Referenced by checkDataFileVersion(), and checkPackageDependency().

ASCString PackageRepository::getTypeName ( )

Implements TextFileDataLoader.

Definition at line 37 of file packagerepository.h.

void PackageRepository::postChecks ( )

Reimplemented from TextFileDataLoader.

Definition at line 64 of file packagerepository.cpp.

References checkPackageDependency(), and packgeDescriptionLoaded.

void PackageRepository::read ( tnstream stream)

Implements TextFileDataLoader.

Definition at line 50 of file packagerepository.cpp.

References tnstream::readInt(), and readPointerContainer().

void PackageRepository::readTextFiles ( PropertyReadingContainer prc,
const ASCString fileName,
const ASCString location 

Implements TextFileDataLoader.

Definition at line 39 of file packagerepository.cpp.

References Package::runTextIO().

void PackageRepository::write ( tnstream stream)

Implements TextFileDataLoader.

Definition at line 56 of file packagerepository.cpp.

References tnstream::writeInt(), and writePointerContainer().

Member Data Documentation

sigc::signal< void > PackageRepository::packgeDescriptionLoaded

Definition at line 37 of file packagerepository.h.

Referenced by checkDataVersion(), and postChecks().

The documentation for this class was generated from the following files: