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
[legend]

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 ( )
inlinevirtual

Implements TextFileDataLoader.

Definition at line 37 of file packagerepository.h.

void PackageRepository::postChecks ( )
virtual

Reimplemented from TextFileDataLoader.

Definition at line 64 of file packagerepository.cpp.

References checkPackageDependency(), and packgeDescriptionLoaded.

void PackageRepository::read ( tnstream stream)
virtual

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 
)
virtual

Implements TextFileDataLoader.

Definition at line 39 of file packagerepository.cpp.

References Package::runTextIO().

void PackageRepository::write ( tnstream stream)
virtual

Implements TextFileDataLoader.

Definition at line 56 of file packagerepository.cpp.

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

Member Data Documentation

sigc::signal< void > PackageRepository::packgeDescriptionLoaded
static

Definition at line 37 of file packagerepository.h.

Referenced by checkDataVersion(), and postChecks().


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