ircproxy The Ultimate Cyborg |
#include <UserAnswer.h>
Definition at line 61 of file UserAnswer.h.
Public Member Functions | |
UserQuestion (question_nt question_number, std::string const &question) | |
Construct a UserQuestion with index question_number and string question. | |
std::string const & | question (void) const |
Return the question string. | |
question_nt | number (void) const |
Return the question index. | |
Private Attributes | |
question_nt | M_question_number |
The question index. | |
std::string | M_question |
The full question. |
UserQuestion::UserQuestion | ( | question_nt | question_number, | |
std::string const & | question | |||
) | [inline] |
Construct a UserQuestion with index question_number and string question.
Definition at line 67 of file UserAnswer.h.
00067 : 00068 M_question_number(question_number), M_question(question) { } //! Return the question string.
std::string const& UserQuestion::question | ( | void | ) | const [inline] |
Return the question string.
Definition at line 70 of file UserAnswer.h.
References M_question.
00070 { return M_question; }
question_nt UserQuestion::number | ( | void | ) | const [inline] |
Return the question index.
Definition at line 72 of file UserAnswer.h.
References M_question_number.
00072 { return M_question_number; }
question_nt UserQuestion::M_question_number [private] |
std::string UserQuestion::M_question [private] |
Copyright © 2005-2007 Carlo Wood. All rights reserved. |
---|