LibPkg
Classes | Namespaces | Functions
status.h File Reference
#include <utility>
#include <string>
#include <stdexcept>
#include <iosfwd>

Go to the source code of this file.

Classes

class  pkg::status
 A class to represent the current or required status of a package. More...
 
class  pkg::status::parse_error
 An exception class for reporting parse errors. More...
 

Namespaces

 pkg
 The namespace used to hold the package management library.
 

Functions

bool pkg::operator== (const status &lhs, const status &rhs)
 Test whether two status records are equal. More...
 
bool pkg::operator!= (const status &lhs, const status &rhs)
 Test whether two status records are unequal. More...
 
std::ostream & pkg::operator<< (std::ostream &out, const std::pair< string, status > &pkgstat)
 Write package status record to output stream. More...
 
std::istream & pkg::operator>> (std::istream &in, std::pair< string, status > &pkgstat)
 Read package status record from input stream. More...
 
bool pkg::unpack_req (const status &curstat, const status &selstat)
 Determine whether a package should be unpacked. More...
 
bool pkg::remove_req (const status &curstat, const status &selstat)
 Determine whether a package should be removed. More...
 
bool pkg::config_req (const status &curstat, const status &selstat)
 Determine whether a package should be configured. More...
 
bool pkg::purge_req (const status &curstat, const status &selstat)
 Determine whether a package should be purged. More...
 

Reference Manual LibPkg Version 0.6.1 (28 Jan 2015)