GME  13
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
TextPromptImpl Class Reference

#include <Prompter.h>

Inheritance diagram for TextPromptImpl:
Inheritance graph
[legend]
Collaboration diagram for TextPromptImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TextPromptImpl ()
virtual ~TextPromptImpl ()
virtual bool prompt (const char *realm, const char *pi_username, bool maySave)
virtual bool askYesNo (const char *realm, const char *question, bool yesIsDefault)
virtual int askTrust (const char *question, bool maySave)
virtual std::string askQuestion (const char *realm, const char *question, bool showAnswer, bool maySave)
virtual std::string password ()
virtual std::string username ()

Protected Types

enum  EntryType { UserName, Password }

Protected Member Functions

std::string readcnf (const EntryType &p_type)

Protected Attributes

std::string m_uName
std::string m_pWord
std::string m_answer

Detailed Description

Definition at line 69 of file Prompter.h.


Member Enumeration Documentation

enum TextPromptImpl::EntryType [protected]
Enumerator:
UserName 
Password 

Definition at line 75 of file Prompter.h.


Constructor & Destructor Documentation

virtual TextPromptImpl::~TextPromptImpl ( ) [virtual]

Member Function Documentation

virtual std::string TextPromptImpl::askQuestion ( const char *  realm,
const char *  question,
bool  showAnswer,
bool  maySave 
) [virtual]

Implements PromptImpl.

virtual int TextPromptImpl::askTrust ( const char *  question,
bool  maySave 
) [virtual]

Implements PromptImpl.

virtual bool TextPromptImpl::askYesNo ( const char *  realm,
const char *  question,
bool  yesIsDefault 
) [virtual]

Implements PromptImpl.

virtual std::string TextPromptImpl::password ( ) [virtual]

Implements PromptImpl.

virtual bool TextPromptImpl::prompt ( const char *  realm,
const char *  pi_username,
bool  maySave 
) [virtual]

Implements PromptImpl.

std::string TextPromptImpl::readcnf ( const EntryType p_type) [protected]
virtual std::string TextPromptImpl::username ( ) [virtual]

Implements PromptImpl.


Member Data Documentation

Definition at line 82 of file Prompter.h.

Definition at line 73 of file Prompter.h.

Definition at line 72 of file Prompter.h.


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