Pol  Revision:cb584c9
Pol::Plib::Package Class Reference

#include <pkg.h>

Public Member Functions

 Package (const std::string &pkg_dir, Clib::ConfigElem &elem)
 
void check_conflicts () const
 
void check_dependencies () const
 
bool check_replacements () const
 
std::string desc () const
 
const std::string & dir () const
 
size_t estimateSize () const
 
const std::string & name () const
 
bool provides_system_home_page () const
 
const std::string & version () const
 

Private Member Functions

 Package (const Package &)
 
Packageoperator= (const Package &)
 

Private Attributes

PackageList conflicts_
 
unsigned short core_required_
 
std::string core_versionstring_required_
 
std::string dir_
 
std::string name_
 
bool provides_system_home_page_
 
PackageList replaces_
 
PackageList requires_
 
std::string version_
 

Detailed Description

Definition at line 41 of file pkg.h.

Constructor & Destructor Documentation

Pol::Plib::Package::Package ( const Package )
private

Member Function Documentation

void Pol::Plib::Package::check_conflicts ( ) const
bool Pol::Plib::Package::check_replacements ( ) const
size_t Pol::Plib::Package::estimateSize ( ) const
Package& Pol::Plib::Package::operator= ( const Package )
private
bool Pol::Plib::Package::provides_system_home_page ( ) const

Definition at line 27 of file pkg.cpp.

References provides_system_home_page_.

Referenced by Pol::Core::config_web_server().

Member Data Documentation

PackageList Pol::Plib::Package::conflicts_
private

Definition at line 68 of file pkg.h.

Referenced by check_conflicts(), and estimateSize().

unsigned short Pol::Plib::Package::core_required_
private

Definition at line 64 of file pkg.h.

Referenced by check_dependencies(), and Package().

std::string Pol::Plib::Package::core_versionstring_required_
private

Definition at line 65 of file pkg.h.

Referenced by check_dependencies(), estimateSize(), and Package().

std::string Pol::Plib::Package::dir_
private

Definition at line 59 of file pkg.h.

Referenced by check_dependencies(), and estimateSize().

std::string Pol::Plib::Package::name_
private

Definition at line 60 of file pkg.h.

Referenced by check_dependencies(), estimateSize(), and Package().

bool Pol::Plib::Package::provides_system_home_page_
private

Definition at line 71 of file pkg.h.

Referenced by provides_system_home_page().

PackageList Pol::Plib::Package::replaces_
private

Definition at line 69 of file pkg.h.

Referenced by check_replacements(), and estimateSize().

PackageList Pol::Plib::Package::requires_
private

Definition at line 67 of file pkg.h.

Referenced by check_dependencies(), and estimateSize().

std::string Pol::Plib::Package::version_
private

Definition at line 61 of file pkg.h.

Referenced by check_dependencies(), and estimateSize().


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