zypp::PublicKey::Impl Struct Reference

PublicKey implementation. More...

List of all members.

Public Member Functions

 Impl ()
 Impl (const Pathname &file)
std::string asString () const
std::string armoredData () const
std::string id () const
std::string name () const
std::string fingerprint () const
Pathname path () const

Static Public Member Functions

static shared_ptr< Implnullimpl ()
 Offer default Impl.

Protected Member Functions

void readFromFile (const Pathname &keyfile)

Private Member Functions

Implclone () const
 clone for RWCOW_pointer

Private Attributes

std::string _id
std::string _name
std::string _fingerprint
std::string _data
filesystem::TmpFile _data_file

Friends

Implr (const Impl *rhs)


Detailed Description

PublicKey implementation.

Definition at line 33 of file PublicKey.cc.


Constructor & Destructor Documentation

zypp::PublicKey::Impl::Impl (  )  [inline]

Definition at line 35 of file PublicKey.cc.

Referenced by clone().

zypp::PublicKey::Impl::Impl ( const Pathname &  file  )  [inline]

Definition at line 38 of file PublicKey.cc.

References MIL, and readFromFile().


Member Function Documentation

static shared_ptr<Impl> zypp::PublicKey::Impl::nullimpl (  )  [inline, static]

Offer default Impl.

Definition at line 46 of file PublicKey.cc.

std::string zypp::PublicKey::Impl::asString (  )  const [inline]

Definition at line 53 of file PublicKey.cc.

References fingerprint(), id(), and name().

std::string zypp::PublicKey::Impl::armoredData (  )  const [inline]

Definition at line 58 of file PublicKey.cc.

References _data.

std::string zypp::PublicKey::Impl::id (  )  const [inline]

Definition at line 61 of file PublicKey.cc.

References _id.

Referenced by asString().

std::string zypp::PublicKey::Impl::name (  )  const [inline]

Definition at line 64 of file PublicKey.cc.

References _name.

Referenced by asString().

std::string zypp::PublicKey::Impl::fingerprint (  )  const [inline]

Definition at line 67 of file PublicKey.cc.

References _fingerprint.

Referenced by asString().

Pathname zypp::PublicKey::Impl::path (  )  const [inline]

Definition at line 70 of file PublicKey.cc.

References _data_file, and zypp::filesystem::TmpPath::path().

void zypp::PublicKey::Impl::readFromFile ( const Pathname &  keyfile  )  [inline, protected]

Definition at line 78 of file PublicKey.cc.

References _data_file, _fingerprint, _id, _name, zypp::filesystem::checksum(), zypp::ExternalProgram::close(), zypp::filesystem::copy(), zypp::ExternalProgram::Discard_Stderr, MIL, zypp::filesystem::TmpPath::path(), zypp::externalprogram::ExternalDataSource::receiveLine(), zypp::str::regex_match(), and ZYPP_THROW.

Referenced by Impl().

Impl* zypp::PublicKey::Impl::clone (  )  const [inline, private]

clone for RWCOW_pointer

Definition at line 153 of file PublicKey.cc.

References Impl().


Friends And Related Function Documentation

Impl* r ( const Impl rhs  )  [friend]


Member Data Documentation

std::string zypp::PublicKey::Impl::_id [private]

Definition at line 144 of file PublicKey.cc.

Referenced by id(), and readFromFile().

std::string zypp::PublicKey::Impl::_name [private]

Definition at line 145 of file PublicKey.cc.

Referenced by name(), and readFromFile().

std::string zypp::PublicKey::Impl::_fingerprint [private]

Definition at line 146 of file PublicKey.cc.

Referenced by fingerprint(), and readFromFile().

std::string zypp::PublicKey::Impl::_data [private]

Definition at line 147 of file PublicKey.cc.

Referenced by armoredData().

filesystem::TmpFile zypp::PublicKey::Impl::_data_file [private]

Definition at line 148 of file PublicKey.cc.

Referenced by path(), and readFromFile().


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 19:23:15 2007 for libzypp by  doxygen 1.5.3