#include <installedpackage.h>
Inheritance diagram for InstalledPackage:
Public Member Functions | |
InstalledPackage () | |
Default Constructor. | |
InstalledPackage (const InstalledPackage ©) | |
Copy Constructor. | |
InstalledPackage (const PackageVersion ©) | |
Copy Constructor. | |
InstalledPackage (const Package ©) | |
Copy Constructor. | |
virtual | ~InstalledPackage () |
Destructor. | |
bool | operator== (const InstalledPackage ¶m) |
Equality operator. | |
bool | operator!= (const InstalledPackage ¶m) |
Non equality operator. | |
bool | operator== (const PackageVersion ¶m) |
Equality operator - with PackageVersion. | |
bool | operator!= (const PackageVersion ¶m) |
Non equality operator - with PackageVersion. | |
bool | operator== (const Package ¶m) |
Equality operator - with Package. | |
bool | operator!= (const Package ¶m) |
Non equality operator - with Package. | |
virtual Dbt | GetKey () |
Get DB Key. | |
virtual Dbt | GetData () |
Get DB Data. | |
virtual void | ReadData (Dbt data) |
Read DB Data. | |
virtual void | ReadKey (Dbt key) |
Read DB Key. | |
Public Attributes | |
bool | inWorld |
Is the package in World?. | |
std::vector< PMString > | virtuals |
The virtuals provided by the installed package. | |
PMString | useFlags |
The useFlags the package was installed with. | |
Protected Member Functions | |
int | _VectorSize (std::vector< PMString > stringVector) |
Utility function to get the size of a vector. |
|
Constructor - sets package not in world. |
|
Copy constructor for InstalledPackage.
|
|
Copy constructor for PackageVersion.
|
|
Copy constructor for Package.
|
|
Destructor. |
|
Utility function that returns the size in bytes of a vector of strings, if you extract each one as a bunch of chars ( using .c_str() ).
|
|
Get the Data for storing in the Berkeley DB. Stores virtuals provided, version, whether the package is inWorld and the useflags used at the time of install.
Reimplemented from PackageVersion. |
|
Get the Key for storing in the Berkeley DB. Stored as category then name.
Reimplemented from PackageVersion. |
|
Non Equality operator - with Package.
Reimplemented from PackageVersion. |
|
Non Equality operator - with PackageVersion.
Reimplemented from PackageVersion. |
|
Non Equality operator.
|
|
Equality operator - with Package.
Reimplemented from PackageVersion. |
|
Equality operator.
|
|
Read the DB Data stored in the DB.
Reimplemented from PackageVersion. |
|
Read the DB Key stored in the DB.
Reimplemented from PackageVersion. |