Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CPasswordCheck Class Reference

#include <PasswordCheck.h>

Inheritance diagram for CPasswordCheck:

CAuthenticator List of all members.

Public Methods

 CPasswordCheck (const std::string &rPassword, std::string rPrompt=m_EmptyString, Bool_t WithPrompt=kfFALSE)
 ~CPasswordCheck ()
 CPasswordCheck (const CPasswordCheck &aCPasswordCheck)
CPasswordCheck & operator= (const CPasswordCheck &aCPasswordCheck)
std::string getPassword () const
std::string getPromptString () const
Bool_t getWithPrompt () const
void setPassword (const std::string am_sPassword)
void setPromptString (const std::string am_sPromptString)
virtual Bool_t Authenticate (CInteractor &rInteractor)
void DisablePrompt ()
void EnablePrompt ()

Protected Methods

void setWithPrompt (const Bool_t am_fWithPrompt)
std::string GetUserPassword (CInteractor &rInteractor)

Private Methods

int operator== (const CPasswordCheck &aCPasswordCheck) const

Private Attributes

std::string m_sPassword
std::string m_sPromptString
Bool_t m_fWithPrompt

Static Private Attributes

const std::string m_EmptyString

Constructor & Destructor Documentation

CPasswordCheck::CPasswordCheck const std::string &    rPassword,
std::string    rPrompt = m_EmptyString,
Bool_t    WithPrompt = kfFALSE
[inline]
 

Definition at line 326 of file PasswordCheck.h.

References m_EmptyString, m_fWithPrompt, m_sPassword, and m_sPromptString.

CPasswordCheck::~CPasswordCheck   [inline]
 

Definition at line 334 of file PasswordCheck.h.

CPasswordCheck::CPasswordCheck const CPasswordCheck &    aCPasswordCheck [inline]
 

Definition at line 339 of file PasswordCheck.h.

References m_fWithPrompt, m_sPassword, and m_sPromptString.


Member Function Documentation

Bool_t CPasswordCheck::Authenticate CInteractor   rInteractor [virtual]
 

Implements CAuthenticator.

Definition at line 308 of file PasswordCheck.cpp.

References GetUserPassword(), m_sPassword, m_sPromptString, and CInteractor::Write().

void CPasswordCheck::DisablePrompt   [inline]
 

Definition at line 392 of file PasswordCheck.h.

References m_fWithPrompt.

void CPasswordCheck::EnablePrompt   [inline]
 

Definition at line 396 of file PasswordCheck.h.

References m_fWithPrompt.

std::string CPasswordCheck::getPassword   const [inline]
 

Definition at line 363 of file PasswordCheck.h.

References m_sPassword.

std::string CPasswordCheck::getPromptString   const [inline]
 

Definition at line 366 of file PasswordCheck.h.

References m_sPromptString.

std::string CPasswordCheck::GetUserPassword CInteractor   rInteractor [inline, protected]
 

Definition at line 401 of file PasswordCheck.h.

References CAuthenticator::GetLine().

Referenced by Authenticate().

Bool_t CPasswordCheck::getWithPrompt   const [inline]
 

Definition at line 369 of file PasswordCheck.h.

References m_fWithPrompt.

CPasswordCheck& CPasswordCheck::operator= const CPasswordCheck &    aCPasswordCheck [inline]
 

Definition at line 349 of file PasswordCheck.h.

References m_fWithPrompt, m_sPassword, m_sPromptString, and CAuthenticator::operator=().

int CPasswordCheck::operator== const CPasswordCheck &    aCPasswordCheck const [private]
 

void CPasswordCheck::setPassword const std::string    am_sPassword [inline]
 

Definition at line 376 of file PasswordCheck.h.

References m_sPassword.

void CPasswordCheck::setPromptString const std::string    am_sPromptString [inline]
 

Definition at line 379 of file PasswordCheck.h.

References m_sPromptString.

void CPasswordCheck::setWithPrompt const Bool_t    am_fWithPrompt [inline, protected]
 

Definition at line 384 of file PasswordCheck.h.

References m_fWithPrompt.


Member Data Documentation

const std::string CPasswordCheck::m_EmptyString [static, private]
 

Definition at line 315 of file PasswordCheck.h.

Referenced by CPasswordCheck().

Bool_t CPasswordCheck::m_fWithPrompt [private]
 

Definition at line 318 of file PasswordCheck.h.

Referenced by CPasswordCheck(), DisablePrompt(), EnablePrompt(), getWithPrompt(), operator=(), and setWithPrompt().

std::string CPasswordCheck::m_sPassword [private]
 

Definition at line 316 of file PasswordCheck.h.

Referenced by Authenticate(), CPasswordCheck(), getPassword(), operator=(), and setPassword().

std::string CPasswordCheck::m_sPromptString [private]
 

Definition at line 317 of file PasswordCheck.h.

Referenced by Authenticate(), CPasswordCheck(), getPromptString(), operator=(), and setPromptString().


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 13:37:20 2002 for Event Readout system. by doxygen1.2.16