47 {
return backup( status_r ); }
82 if ( ! status.
setLock(
false, causer_r ) )
return false;
83 if ( ! status.
setTransact(
true, causer_r ) )
return false;
91 if ( ! status.
setTransact(
false, causer_r ) )
return false;
92 if ( ! status.
setLock(
true, causer_r ) )
return false;
100 if ( ! status.
setTransact(
false, causer_r ) )
return false;
101 if ( ! status.
setLock(
false, causer_r ) )
return false;
111 if ( ! status.
setTransact(
false, causer_r ) )
return false;
122 if ( ! status.
setTransact(
false, causer_r ) )
return false;
131 template <
class TIter>
134 for_( it, begin_r, end_r )
135 if ( ! (this->*action_r)( *it, causer_r ) )
154 ,
inst( impl.installedObj() )
155 ,
cand( impl.candidateObj() )
249 it->status().setTransact(
false,
causer );
250 it->status().setLock(
true,
causer );
362 return self.setProtected();
364 return self.setTaboo();
373 return self.setDelete();
377 return self.hasCandidateOnly() &&
self.setInstall();
381 return self.hasBoth() &&
self.setInstall();
385 return self.hasInstalled() &&
self.unset();
389 return !
self.hasInstalled() &&
self.unset();
400 if ( newCandidate_r )
404 if ( *it == newCandidate_r )
414 PoolItem trans( transactingCandidate() );
415 if ( trans && trans != newCandidate )
433 return _candidate = newCandidate;
456 std::vector<PoolItem> i;
457 std::vector<PoolItem> a;
502 if ( i.empty() && ! a.empty() )
505 if ( cand.multiversionInstall() )
510 if ( ! cand.status().setTransact(
true, causer_r ) )
return backup.
restore();
527 if ( ! i.empty() && ! a.empty() )
530 if ( cand.multiversionInstall() )
537 if ( ! cand.status().setTransact(
true, causer_r ) )
return backup.
restore();
578 std::vector<PoolItem> i;
579 std::vector<PoolItem> a;
612 for_( it, i.begin(), i.end() )
613 if ( it->status().isLocked() )
618 bool allALocked =
true;
619 for_( it, a.begin(), a.end() )
620 if ( ! it->status().isLocked() )
634 && ( ta ? ta : *a.begin() ).
status().isSatisfied() )