libzypp  15.3.0
zypp::SystemCheck Class Reference

Save and restore locale set from file. More...

#include <SystemCheck.h>

Inheritance diagram for zypp::SystemCheck:

Public Member Functions

const Pathname & file ()
 Return the file path. More...
 
const Pathname & dir ()
 Return the directory path. More...
 
bool setFile (const Pathname &file) const
 Set configuration file of system requirements Should be used for testcase only. More...
 
bool setDir (const Pathname &dir) const
 Set configuration directory for files of system requirements. More...
 
const CapabilitySetrequiredSystemCap () const
 Returns a list of required system capabilities. More...
 
const CapabilitySetconflictSystemCap () const
 Returns a list of conflicting system capabilities. More...
 

Static Public Member Functions

static const SystemCheckinstance ()
 Singleton. More...
 

Private Member Functions

 SystemCheck ()
 Ctor taking the file to read. More...
 
bool loadFile (Pathname &file, bool reset_caps=true) const
 
bool loadFiles () const
 

Friends

std::ostream & operator<< (std::ostream &str, const SystemCheck &obj)
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const SystemCheck &obj)
 

Detailed Description

Save and restore locale set from file.

Definition at line 29 of file SystemCheck.h.

Constructor & Destructor Documentation

zypp::SystemCheck::SystemCheck ( )
private

Ctor taking the file to read.

Definition at line 46 of file SystemCheck.cc.

Member Function Documentation

const SystemCheck & zypp::SystemCheck::instance ( )
static

Singleton.

Definition at line 39 of file SystemCheck.cc.

const Pathname & zypp::SystemCheck::file ( )

Return the file path.

Definition at line 72 of file SystemCheck.cc.

const Pathname & zypp::SystemCheck::dir ( )

Return the directory path.

Definition at line 76 of file SystemCheck.cc.

bool zypp::SystemCheck::setFile ( const Pathname &  file) const

Set configuration file of system requirements Should be used for testcase only.

Definition at line 57 of file SystemCheck.cc.

bool zypp::SystemCheck::setDir ( const Pathname &  dir) const

Set configuration directory for files of system requirements.

Should be used for testcase only

Definition at line 64 of file SystemCheck.cc.

const CapabilitySet & zypp::SystemCheck::requiredSystemCap ( ) const

Returns a list of required system capabilities.

Definition at line 80 of file SystemCheck.cc.

const CapabilitySet & zypp::SystemCheck::conflictSystemCap ( ) const

Returns a list of conflicting system capabilities.

Definition at line 84 of file SystemCheck.cc.

bool zypp::SystemCheck::loadFile ( Pathname &  file,
bool  reset_caps = true 
) const
private

Definition at line 88 of file SystemCheck.cc.

bool zypp::SystemCheck::loadFiles ( ) const
private

Definition at line 129 of file SystemCheck.cc.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const SystemCheck obj 
)
friend

Definition at line 154 of file SystemCheck.cc.

std::ostream & operator<< ( std::ostream &  str,
const SystemCheck obj 
)
related

Stream output

Definition at line 154 of file SystemCheck.cc.


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