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

All information about a layer pair as stored in the layer pair store. More...

#include <board_project_settings.h>

Public Member Functions

 LAYER_PAIR_INFO (LAYER_PAIR aPair, bool aEnabled, std::optional< wxString > aName)
 
const LAYER_PAIRGetLayerPair () const
 
const std::optional< wxString > & GetName () const
 
void SetName (const wxString &aNewName)
 
void UnsetName ()
 
bool IsEnabled () const
 
void SetEnabled (bool aNewEnabled)
 

Private Attributes

LAYER_PAIR m_pair
 
bool m_enabled = true
 
std::optional< wxString > m_name
 

Detailed Description

All information about a layer pair as stored in the layer pair store.

Definition at line 299 of file board_project_settings.h.

Constructor & Destructor Documentation

◆ LAYER_PAIR_INFO()

LAYER_PAIR_INFO::LAYER_PAIR_INFO ( LAYER_PAIR  aPair,
bool  aEnabled,
std::optional< wxString >  aName 
)
inline

Definition at line 302 of file board_project_settings.h.

Member Function Documentation

◆ GetLayerPair()

◆ GetName()

const std::optional< wxString > & LAYER_PAIR_INFO::GetName ( ) const
inline

◆ IsEnabled()

bool LAYER_PAIR_INFO::IsEnabled ( ) const
inline

◆ SetEnabled()

void LAYER_PAIR_INFO::SetEnabled ( bool  aNewEnabled)
inline

◆ SetName()

void LAYER_PAIR_INFO::SetName ( const wxString &  aNewName)
inline

◆ UnsetName()

void LAYER_PAIR_INFO::UnsetName ( )
inline

Definition at line 312 of file board_project_settings.h.

Member Data Documentation

◆ m_enabled

bool LAYER_PAIR_INFO::m_enabled = true
private

Definition at line 319 of file board_project_settings.h.

◆ m_name

std::optional<wxString> LAYER_PAIR_INFO::m_name
private

Definition at line 320 of file board_project_settings.h.

◆ m_pair

LAYER_PAIR LAYER_PAIR_INFO::m_pair
private

Definition at line 318 of file board_project_settings.h.


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