GSmtp::SecretsImp Class Reference

A private pimple-pattern implentation class used by GSmtp::Secrets. More...

List of all members.

Public Member Functions

 SecretsImp (const G::Path &path, bool auto_, const std::string &name, const std::string &type)
 ~SecretsImp ()
bool valid () const
std::string id (const std::string &mechanism) const
std::string secret (const std::string &mechanism) const
std::string secret (const std::string &mechanism, const std::string &id) const
std::string path () const
bool contains (const std::string &mechanism) const


Detailed Description

A private pimple-pattern implentation class used by GSmtp::Secrets.

Definition at line 41 of file gsecrets_full.cpp.


Constructor & Destructor Documentation

GSmtp::SecretsImp::SecretsImp ( const G::Path path,
bool  auto_,
const std::string &  name,
const std::string &  type 
)

Definition at line 119 of file gsecrets_full.cpp.

References G_DEBUG, and G::Path::str().

GSmtp::SecretsImp::~SecretsImp (  ) 

Definition at line 249 of file gsecrets_full.cpp.


Member Function Documentation

bool GSmtp::SecretsImp::valid (  )  const

Definition at line 135 of file gsecrets_full.cpp.

Referenced by GSmtp::Secrets::valid().

std::string GSmtp::SecretsImp::id ( const std::string &  mechanism  )  const

Definition at line 253 of file gsecrets_full.cpp.

References G::Xtext::decode(), G_DEBUG, and result.

Referenced by GSmtp::Secrets::id().

std::string GSmtp::SecretsImp::secret ( const std::string &  mechanism  )  const

Definition at line 264 of file gsecrets_full.cpp.

References G::Xtext::decode().

Referenced by GSmtp::Secrets::secret().

std::string GSmtp::SecretsImp::secret ( const std::string &  mechanism,
const std::string &  id 
) const

Definition at line 274 of file gsecrets_full.cpp.

References G::Xtext::decode(), and G::Xtext::encode().

std::string GSmtp::SecretsImp::path (  )  const

Definition at line 284 of file gsecrets_full.cpp.

References G::Path::str().

bool GSmtp::SecretsImp::contains ( const std::string &  mechanism  )  const

Definition at line 289 of file gsecrets_full.cpp.

Referenced by GSmtp::Secrets::contains().


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

Generated on Fri Apr 18 15:56:14 2008 for E-MailRelay by  doxygen 1.5.5