Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

Question Class Reference

#include <msg.h>

Inheritance diagram for Question:

MessageBase List of all members.

Public Member Functions

 Question (void)
 Question (std::string msg)
 Question (const char *msgfmt,...)
void printMessage (void) const
bool getAnswer (void)

Private Attributes

std::string yeschar
std::string nochar

Constructor & Destructor Documentation

Question::Question void   ) 
 

Question::Question std::string  msg  ) 
 

Question::Question const char *  msgfmt,
... 
 


Member Function Documentation

bool Question::getAnswer void   ) 
 

wait for the user to answer the question (should be printed before)

Returns:
true iff the user answers with yes, i.e. presses the yeschar-key

void Question::printMessage void   )  const [virtual]
 

Implements MessageBase.


Member Data Documentation

std::string Question::nochar [private]
 

std::string Question::yeschar [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Nov 13 23:44:24 2003 for steghide by doxygen 1.3.3