#include <package.h>
Public Types | |
| typedef vector< PackageDependency > | Dependencies |
| the given packages must be present to use this package | |
Public Member Functions | |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) const |
| void | runTextIO (PropertyContainer &pc) |
Public Attributes | |
| ASCString | name |
| ASCString | description |
| ASCString | updateUrl |
| VersionIdentifier | version |
| Dependencies | dependencies |
| ASCString | archive |
| the archive in which the package is stored | |
| ASCString | location |
Classes | |
| class | PackageDependency |
Definition at line 30 of file package.h.
| typedef vector<PackageDependency> Package::Dependencies |
| void Package::read | ( | tnstream & | stream | ) |
Definition at line 28 of file package.cpp.
References archive, dependencies, description, name, packageStreamVersion, VersionIdentifier::read(), readClassContainer(), tnstream::readInt(), tnstream::readString(), updateUrl, and version.
Referenced by PackageData::read().
| void Package::write | ( | tnstream & | stream | ) | const |
Definition at line 46 of file package.cpp.
References archive, dependencies, description, name, packageStreamVersion, updateUrl, version, VersionIdentifier::write(), writeClassContainer(), tnstream::writeInt(), and tnstream::writeString().
| void Package::runTextIO | ( | PropertyContainer & | pc | ) |
Definition at line 60 of file package.cpp.
References PropertyContainer::addInteger(), PropertyContainer::addString(), archive, PropertyContainer::closeBracket(), dependencies, description, VersionIdentifier::fromString(), PropertyContainer::getArchive(), PropertyContainer::getLocation(), PropertyContainer::isReading(), location, name, PropertyContainer::openBracket(), ASCString::toString(), VersionIdentifier::toString(), updateUrl, and version.
Referenced by PackageRepository::readTextFiles().
Definition at line 41 of file package.h.
Referenced by PackageRepository::checkPackageDependency(), read(), runTextIO(), and write().
Definition at line 49 of file package.h.
Referenced by PackageRepository::checkPackageDependency(), read(), runTextIO(), and write().
the archive in which the package is stored
Definition at line 52 of file package.h.
Referenced by read(), runTextIO(), and write().
1.5.1