apt 3.0.3
commandline package manager
Public Member Functions | Public Attributes | List of all members
Solver::Clause Struct Reference

A single clause. More...

#include <apt-pkg/solver3.h>

Collaboration diagram for Solver::Clause:
[legend]

Public Member Functions

 Clause (Var reason, Group group, bool optional=false, bool negative=false)
 
std::string toString (pkgCache &cache, bool pretty=false) const
 

Public Attributes

pkgCache::Dependencydep = nullptr
 
Var reason
 
Group group
 
std::vector< Varsolutions {}
 
bool optional
 
bool negative
 

Detailed Description

A single clause.

A clause is a normalized, expanded dependency, translated into an implication in terms of Var objects, that is, reason -> solutions[0] | ... | solutions[n]


The documentation for this struct was generated from the following files: