Cupt
Public Types | Public Member Functions | List of all members
cupt::cache::Package Class Reference

a container for all versions of the same package name More...

#include <cupt/cache/package.hpp>

Inheritance diagram for cupt::cache::Package:
cupt::cache::BinaryPackage cupt::cache::SourcePackage

Public Types

typedef
internal::BasePackageIterator
< Version
iterator
 

Public Member Functions

 Package (const string *binaryArchitecture)
 constructor More...
 
virtual ~Package ()
 destructor
 
vector< const Version * > getVersions () const
 gets list of versions
 
const VersiongetSpecificVersion (const string &versionString) const
 gets version with a certain Version::versionString More...
 
iterator begin () const
 
iterator end () const
 

Detailed Description

a container for all versions of the same package name

Constructor & Destructor Documentation

cupt::cache::Package::Package ( const string *  binaryArchitecture)

constructor

Parameters
binaryArchitecturebinary architecture of the system

Member Function Documentation

const Version* cupt::cache::Package::getSpecificVersion ( const string &  versionString) const

gets version with a certain Version::versionString

Returns
version if found, empty pointer if not found
Parameters
versionStringversion string

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