PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
ScaleQuestion Struct Reference

#include <ScaleDefinition.h>

Classes

struct  VasAnchor
 

Public Member Functions

 ScaleQuestion ()
 

Public Attributes

std::string id
 
std::string text_key
 
std::string type
 
std::string dimension
 
int coding
 
int random_group
 
int required_state
 
QuestionValidation validation
 
bool has_visible_when
 
std::string visible_when_logic
 
std::vector< VisibleWhenConditionvisible_when_simple
 
bool visible_when_is_complex
 
int likert_points
 
int likert_min
 
int likert_max
 
bool likert_reverse
 
bool randomize_options
 
std::vector< std::string > likert_labels
 
int min_value
 
int max_value
 
std::string left_label
 
std::string right_label
 
std::string vas_orientation
 
std::vector< VasAnchorvas_anchors
 
std::vector< std::string > options
 
std::vector< std::string > correct
 
std::string image
 
std::vector< std::string > columns
 
std::vector< std::string > rows
 
std::string question_head
 
std::string answer_alias
 
bool has_gate
 
std::string gate_required_value
 
std::string gate_operator
 
double gate_value
 
std::string gate_terminate_message_key
 
bool revisable
 
bool section_randomize
 
std::vector< std::string > section_randomize_fixed
 

Detailed Description

Definition at line 135 of file ScaleDefinition.h.

Constructor & Destructor Documentation

◆ ScaleQuestion()

ScaleQuestion::ScaleQuestion ( )
inline

Definition at line 192 of file ScaleDefinition.h.

std::string visible_when_logic

Member Data Documentation

◆ answer_alias

std::string ScaleQuestion::answer_alias

Definition at line 178 of file ScaleDefinition.h.

◆ coding

int ScaleQuestion::coding

Definition at line 140 of file ScaleDefinition.h.

◆ columns

std::vector<std::string> ScaleQuestion::columns

Definition at line 171 of file ScaleDefinition.h.

◆ correct

std::vector<std::string> ScaleQuestion::correct

Definition at line 169 of file ScaleDefinition.h.

◆ dimension

std::string ScaleQuestion::dimension

Definition at line 139 of file ScaleDefinition.h.

◆ gate_operator

std::string ScaleQuestion::gate_operator

Definition at line 183 of file ScaleDefinition.h.

◆ gate_required_value

std::string ScaleQuestion::gate_required_value

Definition at line 182 of file ScaleDefinition.h.

◆ gate_terminate_message_key

std::string ScaleQuestion::gate_terminate_message_key

Definition at line 185 of file ScaleDefinition.h.

◆ gate_value

double ScaleQuestion::gate_value

Definition at line 184 of file ScaleDefinition.h.

◆ has_gate

bool ScaleQuestion::has_gate

Definition at line 181 of file ScaleDefinition.h.

◆ has_visible_when

bool ScaleQuestion::has_visible_when

Definition at line 146 of file ScaleDefinition.h.

◆ id

std::string ScaleQuestion::id

◆ image

std::string ScaleQuestion::image

Definition at line 170 of file ScaleDefinition.h.

◆ left_label

std::string ScaleQuestion::left_label

Definition at line 160 of file ScaleDefinition.h.

◆ likert_labels

std::vector<std::string> ScaleQuestion::likert_labels

Definition at line 157 of file ScaleDefinition.h.

◆ likert_max

int ScaleQuestion::likert_max

Definition at line 154 of file ScaleDefinition.h.

◆ likert_min

int ScaleQuestion::likert_min

Definition at line 153 of file ScaleDefinition.h.

◆ likert_points

int ScaleQuestion::likert_points

Definition at line 152 of file ScaleDefinition.h.

◆ likert_reverse

bool ScaleQuestion::likert_reverse

Definition at line 155 of file ScaleDefinition.h.

◆ max_value

int ScaleQuestion::max_value

Definition at line 159 of file ScaleDefinition.h.

◆ min_value

int ScaleQuestion::min_value

Definition at line 158 of file ScaleDefinition.h.

◆ options

std::vector<std::string> ScaleQuestion::options

Definition at line 168 of file ScaleDefinition.h.

◆ question_head

std::string ScaleQuestion::question_head

Definition at line 175 of file ScaleDefinition.h.

◆ random_group

int ScaleQuestion::random_group

Definition at line 141 of file ScaleDefinition.h.

◆ randomize_options

bool ScaleQuestion::randomize_options

Definition at line 156 of file ScaleDefinition.h.

◆ required_state

int ScaleQuestion::required_state

Definition at line 142 of file ScaleDefinition.h.

◆ revisable

bool ScaleQuestion::revisable

Definition at line 188 of file ScaleDefinition.h.

◆ right_label

std::string ScaleQuestion::right_label

Definition at line 161 of file ScaleDefinition.h.

◆ rows

std::vector<std::string> ScaleQuestion::rows

Definition at line 172 of file ScaleDefinition.h.

◆ section_randomize

bool ScaleQuestion::section_randomize

Definition at line 189 of file ScaleDefinition.h.

◆ section_randomize_fixed

std::vector<std::string> ScaleQuestion::section_randomize_fixed

Definition at line 190 of file ScaleDefinition.h.

◆ text_key

std::string ScaleQuestion::text_key

Definition at line 137 of file ScaleDefinition.h.

Referenced by ScaleDefinition::ValidateInternal().

◆ type

std::string ScaleQuestion::type

Definition at line 138 of file ScaleDefinition.h.

Referenced by ScaleDefinition::ValidateInternal().

◆ validation

QuestionValidation ScaleQuestion::validation

Definition at line 143 of file ScaleDefinition.h.

◆ vas_anchors

std::vector<VasAnchor> ScaleQuestion::vas_anchors

Definition at line 167 of file ScaleDefinition.h.

◆ vas_orientation

std::string ScaleQuestion::vas_orientation

Definition at line 162 of file ScaleDefinition.h.

◆ visible_when_is_complex

bool ScaleQuestion::visible_when_is_complex

Definition at line 149 of file ScaleDefinition.h.

◆ visible_when_logic

std::string ScaleQuestion::visible_when_logic

Definition at line 147 of file ScaleDefinition.h.

◆ visible_when_simple

std::vector<VisibleWhenCondition> ScaleQuestion::visible_when_simple

Definition at line 148 of file ScaleDefinition.h.


The documentation for this struct was generated from the following file: