libzypp  13.10.6
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...
 
bool setFile (const Pathname &file) const
 Set configuration file of system requirements Should be used for testcase only. 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 () 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 45 of file SystemCheck.cc.

Member Function Documentation

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

Singleton.

Definition at line 38 of file SystemCheck.cc.

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

Return the file path.

Definition at line 59 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 52 of file SystemCheck.cc.

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

Returns a list of required system capabilities.

Definition at line 63 of file SystemCheck.cc.

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

Returns a list of conflicting system capabilities.

Definition at line 67 of file SystemCheck.cc.

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

Definition at line 71 of file SystemCheck.cc.

Friends And Related Function Documentation

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

Definition at line 116 of file SystemCheck.cc.

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

Stream output

Definition at line 116 of file SystemCheck.cc.


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