zypp::CheckSum Class Reference

#include <CheckSum.h>

List of all members.

Public Member Functions

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

Private Attributes

std::string _type
std::string _checksum

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const CheckSum &obj)
bool operator== (const CheckSum &lhs, const CheckSum &rhs)
bool operator!= (const CheckSum &lhs, const CheckSum &rhs)


Detailed Description

Definition at line 24 of file CheckSum.h.


Constructor & Destructor Documentation

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

Definition at line 27 of file CheckSum.h.

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

zypp::CheckSum::CheckSum  )  [inline]
 

Definition at line 43 of file CheckSum.h.


Member Function Documentation

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

Definition at line 46 of file CheckSum.h.

References _type.

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

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

Definition at line 48 of file CheckSum.h.

References _checksum.

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

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

Definition at line 51 of file CheckSum.h.

References checksum(), and type().

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


Friends And Related Function Documentation

std::ostream & operator<< std::ostream &  str,
const CheckSum obj
[related]
 

Stream output.

Definition at line 59 of file CheckSum.h.

References checksum(), empty(), and type().

bool operator== const CheckSum lhs,
const CheckSum rhs
[related]
 

Definition at line 64 of file CheckSum.h.

References checksum(), and type().

bool operator!= const CheckSum lhs,
const CheckSum rhs
[related]
 

Definition at line 68 of file CheckSum.h.


Member Data Documentation

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

Definition at line 54 of file CheckSum.h.

Referenced by CheckSum(), and type().

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

Definition at line 55 of file CheckSum.h.

Referenced by checksum(), and CheckSum().


The documentation for this class was generated from the following file:
Generated on Thu Jul 6 00:07:30 2006 for zypp by  doxygen 1.4.6