#include <ExamineeGrpCov.h>
Public Types | |
typedef short | group_type |
Group identifier type. | |
Public Member Functions | |
ExamineeGrpCov (int nitems=0, group_type group=1) | |
Class constructor. | |
group_type | Group () const |
Returns the group which the examinee belongs to. | |
void | SetGroup (int group) |
Assigns the group which examinee belongs to. | |
Protected Attributes | |
group_type | mGroup |
Group which the examinee belongs to (first group is group 1). |
P | Type for storing vector of posterior probabilities | |
R | Type for storing vector of item responses. |
Definition at line 46 of file ExamineeGrpCov.h.
typedef short etirm::ExamineeGrpCov< R, P >::group_type |
etirm::ExamineeGrpCov< R, P >::ExamineeGrpCov | ( | int | nitems = 0 , |
|
group_type | group = 1 | |||
) | [inline] |
Class constructor.
[in] | nitems | number of items in response string |
[in] | group | group number (where first group is group 1) |
Definition at line 64 of file ExamineeGrpCov.h.
00065 : 00066 mGroup(group), Examinee<R, P>(nitems) 00067 { }
group_type etirm::ExamineeGrpCov< R, P >::Group | ( | ) | const [inline] |
Returns the group which the examinee belongs to.
Return value: group number (where first group is group 1).
Definition at line 75 of file ExamineeGrpCov.h.
References etirm::ExamineeGrpCov< R, P >::mGroup.
Referenced by etirm::examinee_get_group().
00077 { 00078 return mGroup;
void etirm::ExamineeGrpCov< R, P >::SetGroup | ( | int | group | ) | [inline] |
Assigns the group which examinee belongs to.
[in] | group | Group number (where first group is group 1). |
Definition at line 104 of file ExamineeGrpCov.h.
References etirm::ExamineeGrpCov< R, P >::mGroup.
Referenced by etirm::examinee_set_group().
00106 { 00107 if (group < 1) 00108 throw InvalidArgument("Invalid group number", "ExamineeGrpCov::SetGroup"); 00109 mGroup = group;
group_type etirm::ExamineeGrpCov< R, P >::mGroup [protected] |
Group which the examinee belongs to (first group is group 1).
Definition at line 92 of file ExamineeGrpCov.h.
Referenced by etirm::ExamineeGrpCov< R, P >::Group(), and etirm::ExamineeGrpCov< R, P >::SetGroup().