libept
0.5.25
|
#include <package.h>
Public Types | |
typedef ComposedList< State > | ChangeList |
![]() | |
typedef Setup::PropertyId | PropertyId |
typedef Setup::Token | Token |
Public Member Functions | |
Source (AptDatabase &db) | |
InternalList | listInternal () |
Internal | lookupToken (Token t) |
Token | getToken (Internal i) |
bool | exists (Token t) |
Token | versionToken (pkgCache::VerIterator vi) |
template<PropertyId p> | |
PropertyType< p >::T | getInternal (Internal) |
template<typename List > | |
void | revertState (List l) |
void | revertStates () |
PropertyFilter< State, __typeof(&isChanged) >::T | changedList () |
PropertyFilter< State, __typeof(&isUpgradable) >::T | upgradableList () |
AptDatabase & | db () |
template<> | |
std::string | getInternal (Internal i) |
template<> | |
PackageState | getInternal (Internal i) |
template<> | |
Token | getInternal (Internal i) |
template<> | |
Token | getInternal (Internal i) |
template<> | |
Token | getInternal (Internal i) |
![]() | |
Source & | self () |
PropertyType< property >::T | get (Token t) |
void | invalidate () |
ComposedList< property > | list () |
PropertyFilter< P, F >::T | propertyFilter (F f) |
Source () | |
Static Public Member Functions | |
static bool | isChanged (Token t, PackageState s) |
static bool | isUpgradable (Token t, PackageState s) |
Public Attributes | |
AptDatabase & | m_db |
![]() | |
Token | m_cachedToken |
Setup::Internal | m_cached |
typedef ComposedList< State > ept::core::package::Source::ChangeList |
|
inline |
|
inline |
References isChanged().
|
inline |
References m_db.
Referenced by ept::core::package::Action::apply(), ept::core::package::Action::redundant(), revertState(), and revertStates().
|
inline |
References lookupToken(), ept::core::AptDatabase::lookupVersion(), and m_db.
Referenced by ept::core::package::Action::apply(), and ept::core::package::Action::redundant().
PropertyType< p >::T ept::core::package::Source::getInternal | ( | Internal | ) |
|
inline |
|
inline |
|
inlinestatic |
References ept::core::PackageState::modify().
Referenced by changedList().
|
inlinestatic |
References ept::core::PackageState::upgradable().
Referenced by upgradableList().
|
inline |
References ept::core::AptDatabase::cache(), and m_db.
Referenced by revertStates().
References ept::core::AptDatabase::lookupPackage(), and m_db.
Referenced by ept::core::package::Action::apply(), and exists().
|
inline |
References db(), ept::core::PackageState::keep(), ept::core::PackageState::purge(), and ept::core::AptDatabase::state().
Referenced by revertStates().
|
inline |
References db(), listInternal(), and revertState().
|
inline |
References isUpgradable().
|
inline |
AptDatabase& ept::core::package::Source::m_db |
Referenced by db(), exists(), listInternal(), and lookupToken().