|
classroom
v1
|
#include <multiple_choice_question.h>
Public Member Functions | |
| MultipleChoiceQuestion (const Json::Value &storage) | |
| MultipleChoiceQuestion (Json::Value *storage) | |
| virtual | ~MultipleChoiceQuestion () |
| const StringPiece | GetTypeName () const |
| bool | has_choices () const |
| void | clear_choices () |
| const client::JsonCppArray< string > | get_choices () const |
| client::JsonCppArray< string > | mutable_choices () |
Static Public Member Functions | |
| static MultipleChoiceQuestion * | New () |
Additional details for multiple-choice questions.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'choices' attribute.
|
inline |
Get a reference to the value of the 'choices' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'choices' attribute was set.
choices' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'choices' property.
Possible choices.
|
static |
Creates a new default instance.