KiCad PCB EDA Suite
Loading...
Searching...
No Matches
VALIDATE_CHECKBOX_LIST Class Reference

#include <drc_re_validator_checkbox_list.h>

Inheritance diagram for VALIDATE_CHECKBOX_LIST:

Public Types

enum class  VALIDATION_STATE { Valid , NotSelected }
 

Public Member Functions

 VALIDATE_CHECKBOX_LIST (const std::vector< wxCheckBox * > &aCheckboxes)
 
virtual wxObject * Clone () const override
 
virtual bool Validate (wxWindow *aParent) override
 
VALIDATION_STATE GetValidationState () const
 

Private Attributes

VALIDATION_STATE m_validationState
 
std::vector< wxCheckBox * > m_checkboxes
 

Detailed Description

Definition at line 35 of file drc_re_validator_checkbox_list.h.

Member Enumeration Documentation

◆ VALIDATION_STATE

Enumerator
Valid 
NotSelected 

Definition at line 38 of file drc_re_validator_checkbox_list.h.

Constructor & Destructor Documentation

◆ VALIDATE_CHECKBOX_LIST()

VALIDATE_CHECKBOX_LIST::VALIDATE_CHECKBOX_LIST ( const std::vector< wxCheckBox * > & aCheckboxes)

Definition at line 27 of file drc_re_validator_checkbox_list.cpp.

References m_checkboxes, m_validationState, and Valid.

Referenced by Clone().

Member Function Documentation

◆ Clone()

wxObject * VALIDATE_CHECKBOX_LIST::Clone ( ) const
overridevirtual

Definition at line 33 of file drc_re_validator_checkbox_list.cpp.

References m_checkboxes, and VALIDATE_CHECKBOX_LIST().

◆ GetValidationState()

VALIDATE_CHECKBOX_LIST::VALIDATION_STATE VALIDATE_CHECKBOX_LIST::GetValidationState ( ) const

◆ Validate()

bool VALIDATE_CHECKBOX_LIST::Validate ( wxWindow * aParent)
overridevirtual

Definition at line 39 of file drc_re_validator_checkbox_list.cpp.

References m_checkboxes, m_validationState, NotSelected, and Valid.

Member Data Documentation

◆ m_checkboxes

std::vector<wxCheckBox*> VALIDATE_CHECKBOX_LIST::m_checkboxes
private

Definition at line 54 of file drc_re_validator_checkbox_list.h.

Referenced by Clone(), Validate(), and VALIDATE_CHECKBOX_LIST().

◆ m_validationState

VALIDATION_STATE VALIDATE_CHECKBOX_LIST::m_validationState
private

The documentation for this class was generated from the following files: