zypp::CheckSum Class Reference

#include <CheckSum.h>

List of all members.

Public Member Functions

 CheckSum (const std::string &type, const std::string &checksum)
 CheckSum ()
bool operator== (const CheckSum &rhs)
std::string type () const
std::string checksum () const
bool empty () const

Private Attributes

std::string _type
std::string _checksum


Detailed Description

Definition at line 23 of file CheckSum.h.


Constructor & Destructor Documentation

zypp::CheckSum::CheckSum const std::string &  type,
const std::string &  checksum
[inline]
 

Definition at line 26 of file CheckSum.h.

References _checksum, _type, and zypp::str::toLower().

zypp::CheckSum::CheckSum  )  [inline]
 

Definition at line 42 of file CheckSum.h.


Member Function Documentation

bool zypp::CheckSum::operator== const CheckSum rhs  )  [inline]
 

Definition at line 45 of file CheckSum.h.

References _checksum, _type, checksum(), and type().

std::string zypp::CheckSum::type  )  const [inline]
 

Definition at line 50 of file CheckSum.h.

References _type.

Referenced by zypp::source::yum::YUMScriptImpl::do_script(), empty(), operator==(), zypp::source::SourceImpl::providePackage(), and zypp::source::yum::YUMScriptImpl::undo_script().

std::string zypp::CheckSum::checksum  )  const [inline]
 

Definition at line 52 of file CheckSum.h.

References _checksum.

Referenced by zypp::source::yum::YUMScriptImpl::do_script(), zypp::source::susetags::SuseTagsImpl::downloadNeeded(), empty(), operator==(), zypp::source::SourceImpl::providePackage(), and zypp::source::yum::YUMScriptImpl::undo_script().

bool zypp::CheckSum::empty  )  const [inline]
 

Definition at line 55 of file CheckSum.h.

References checksum(), and type().

Referenced by zypp::source::yum::YUMSourceImpl::downloadNeeded(), zypp::source::susetags::SuseTagsImpl::downloadNeeded(), and zypp::source::susetags::SuseTagsImpl::verifyFile().


Member Data Documentation

std::string zypp::CheckSum::_type [private]
 

Definition at line 58 of file CheckSum.h.

Referenced by CheckSum(), operator==(), and type().

std::string zypp::CheckSum::_checksum [private]
 

Definition at line 59 of file CheckSum.h.

Referenced by checksum(), CheckSum(), and operator==().


The documentation for this class was generated from the following file:
Generated on Mon Jun 5 19:10:49 2006 for zypp by  doxygen 1.4.6