libzypp  17.3.0
zypp::CompositeFileChecker Class Reference

Checker composed of more checkers. More...

#include <FileChecker.h>

Public Member Functions

void add (const FileChecker &checker)
void operator() (const Pathname &file) const
int checkersSize () const

Private Attributes

std::list< FileChecker_checkers

Detailed Description

Checker composed of more checkers.

Allows to create a checker composed of various checkers altothether. It will only validate if all the checkers validate.

CompositeFileChecker com;
fetcher.enqueue(location, com);

Definition at line 193 of file FileChecker.h.

Member Function Documentation

◆ add()

void zypp::CompositeFileChecker::add ( const FileChecker checker)

Definition at line 108 of file

◆ operator()()

void zypp::CompositeFileChecker::operator() ( const Pathname file) const
FileCheckExceptionif validation fails

Definition at line 91 of file

◆ checkersSize()

int zypp::CompositeFileChecker::checkersSize ( ) const

Definition at line 202 of file FileChecker.h.

Member Data Documentation

◆ _checkers

std::list<FileChecker> zypp::CompositeFileChecker::_checkers

Definition at line 204 of file FileChecker.h.

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