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

#include <class_regulator_data.h>

Public Member Functions

 REGULATOR_LIST ()
 
 ~REGULATOR_LIST ()
 
unsigned int GetCount ()
 
void Add (REGULATOR_DATA *aItem)
 
REGULATOR_DATAGetReg (const wxString &aName)
 
void Remove (const wxString &aRegName)
 
void Replace (REGULATOR_DATA *aItem)
 Replace an old REGULATOR_DATA by a new one The old one is deleted the 2 items must have the same name.
 
wxArrayString GetRegList () const
 
void Clear ()
 

Public Attributes

std::vector< REGULATOR_DATA * > m_List
 

Detailed Description

Definition at line 63 of file class_regulator_data.h.

Constructor & Destructor Documentation

◆ REGULATOR_LIST()

REGULATOR_LIST::REGULATOR_LIST ( )
inline

Definition at line 66 of file class_regulator_data.h.

◆ ~REGULATOR_LIST()

REGULATOR_LIST::~REGULATOR_LIST ( )
inline

Definition at line 67 of file class_regulator_data.h.

References m_List.

Member Function Documentation

◆ Add()

void REGULATOR_LIST::Add ( REGULATOR_DATA aItem)
inline

◆ Clear()

void REGULATOR_LIST::Clear ( )
inline

Definition at line 147 of file class_regulator_data.h.

References m_List.

Referenced by PANEL_REGULATOR::ReadDataFile().

◆ GetCount()

unsigned int REGULATOR_LIST::GetCount ( )
inline

◆ GetReg()

REGULATOR_DATA * REGULATOR_LIST::GetReg ( const wxString &  aName)
inline

◆ GetRegList()

◆ Remove()

void REGULATOR_LIST::Remove ( const wxString &  aRegName)
inline

Definition at line 104 of file class_regulator_data.h.

References m_List.

Referenced by PANEL_REGULATOR::OnRemoveRegulator().

◆ Replace()

void REGULATOR_LIST::Replace ( REGULATOR_DATA aItem)
inline

Replace an old REGULATOR_DATA by a new one The old one is deleted the 2 items must have the same name.

Definition at line 122 of file class_regulator_data.h.

References m_List, and REGULATOR_DATA::m_Name.

Referenced by PANEL_REGULATOR::OnEditRegulator().

Member Data Documentation

◆ m_List


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