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

ImplrwcowClone (const Impl *rhs)


Detailed Description

PublicKey implementation.

Definition at line 32 of file PublicKey.cc.


Constructor & Destructor Documentation

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

Definition at line 34 of file PublicKey.cc.

Referenced by clone().

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

Definition at line 37 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 45 of file PublicKey.cc.

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

Definition at line 52 of file PublicKey.cc.

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

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

Definition at line 57 of file PublicKey.cc.

References _data.

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

Definition at line 60 of file PublicKey.cc.

References _id.

Referenced by asString().

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

Definition at line 63 of file PublicKey.cc.

References _name.

Referenced by asString().

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

Definition at line 66 of file PublicKey.cc.

References _fingerprint.

Referenced by asString().

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

Definition at line 69 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 77 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(), and ZYPP_THROW.

Referenced by Impl().

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

clone for RWCOW_pointer

Definition at line 152 of file PublicKey.cc.

References Impl().


Friends And Related Function Documentation

Impl* rwcowClone ( const Impl rhs  )  [friend]


Member Data Documentation

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

Definition at line 143 of file PublicKey.cc.

Referenced by id(), and readFromFile().

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

Definition at line 144 of file PublicKey.cc.

Referenced by name(), and readFromFile().

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

Definition at line 145 of file PublicKey.cc.

Referenced by fingerprint(), and readFromFile().

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

Definition at line 146 of file PublicKey.cc.

Referenced by armoredData().

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

Definition at line 147 of file PublicKey.cc.

Referenced by path(), and readFromFile().


The documentation for this struct was generated from the following file:
Generated on Tue Nov 28 16:49:37 2006 for zypp by  doxygen 1.5.0