question(3)
NAME
Question
SYNOPSIS
#include <msg.h> Inherits MessageBase. 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
- void Question::printMessage (void) const [virtual]
- Implements MessageBase.
- 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
Member Data Documentation
std::string Question::yeschar [private] std::string Question::nochar [private]
Author
- Generated automatically by Doxygen for steghide from the source code.