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

#include <footprint_wizard.h>

Inheritance diagram for WIZARD_BOOL_PARAMETER:
WIZARD_PARAMETER

Public Member Functions

void Reset () override
 
kiapi::common::types::WizardParameter Pack (bool aCompact=true) override
 Packs the current state of this parameter back into a protobuf message.
 
void FromProto (const kiapi::common::types::WizardBoolParameter &aProto)
 

Static Public Member Functions

static std::unique_ptr< WIZARD_PARAMETERCreate (const kiapi::common::types::WizardParameter &aProto)
 
static wxString ParameterCategoryName (kiapi::common::types::WizardParameterCategory aCategory)
 

Public Attributes

bool value = false
 
bool default_value = false
 
wxString identifier
 
wxString name
 
wxString description
 
kiapi::common::types::WizardParameterCategory category = kiapi::common::types::WPC_UNKNOWN
 
kiapi::common::types::WizardParameterDataType type = kiapi::common::types::WPDT_UNKNOWN
 

Detailed Description

Definition at line 100 of file footprint_wizard.h.

Member Function Documentation

◆ Create()

std::unique_ptr< WIZARD_PARAMETER > WIZARD_PARAMETER::Create ( const kiapi::common::types::WizardParameter & aProto)
staticinherited

◆ FromProto()

void WIZARD_BOOL_PARAMETER::FromProto ( const kiapi::common::types::WizardBoolParameter & aProto)

Definition at line 378 of file footprint_wizard.cpp.

References default_value, and value.

Referenced by WIZARD_PARAMETER::Create().

◆ Pack()

kiapi::common::types::WizardParameter WIZARD_BOOL_PARAMETER::Pack ( bool aCompact = true)
overridevirtual

Packs the current state of this parameter back into a protobuf message.

Parameters
aCompactwill only include the identifier and value if true
Returns
a protobuf message describing this parameter

Reimplemented from WIZARD_PARAMETER.

Definition at line 313 of file footprint_wizard.cpp.

References default_value, WIZARD_PARAMETER::Pack(), and value.

◆ ParameterCategoryName()

wxString WIZARD_PARAMETER::ParameterCategoryName ( kiapi::common::types::WizardParameterCategory aCategory)
staticinherited

Definition at line 197 of file footprint_wizard.cpp.

References _.

Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::RebuildParameters().

◆ Reset()

void WIZARD_BOOL_PARAMETER::Reset ( )
inlineoverridevirtual

Implements WIZARD_PARAMETER.

Definition at line 103 of file footprint_wizard.h.

References default_value, and value.

Member Data Documentation

◆ category

kiapi::common::types::WizardParameterCategory WIZARD_PARAMETER::category = kiapi::common::types::WPC_UNKNOWN
inherited

Definition at line 63 of file footprint_wizard.h.

Referenced by Pack().

◆ default_value

bool WIZARD_BOOL_PARAMETER::default_value = false

Definition at line 107 of file footprint_wizard.h.

Referenced by FromProto(), Pack(), and Reset().

◆ description

wxString WIZARD_PARAMETER::description
inherited

Definition at line 62 of file footprint_wizard.h.

Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::createPGProperty(), and Pack().

◆ identifier

wxString WIZARD_PARAMETER::identifier
inherited

Definition at line 60 of file footprint_wizard.h.

Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::createPGProperty(), and Pack().

◆ name

wxString WIZARD_PARAMETER::name
inherited

Definition at line 61 of file footprint_wizard.h.

Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::createPGProperty(), and Pack().

◆ type

kiapi::common::types::WizardParameterDataType WIZARD_PARAMETER::type = kiapi::common::types::WPDT_UNKNOWN
inherited

Definition at line 64 of file footprint_wizard.h.

Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::createPGProperty(), and Pack().

◆ value

bool WIZARD_BOOL_PARAMETER::value = false

Definition at line 106 of file footprint_wizard.h.

Referenced by FromProto(), Pack(), and Reset().


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