30#ifndef CLASS_REGULATOR_DATA_H
31#define CLASS_REGULATOR_DATA_H
43 REGULATOR_DATA(
const wxString& aName,
double aVref,
int aType,
double aIadj = 0) :
82 for( ; ii <
m_List.size(); ii++ )
95 if( aName.CmpNoCase( regulator->m_Name ) == 0 )
103 for(
unsigned ii = 0; ii <
m_List.size(); ii++ )
105 if( aRegName.CmpNoCase(
m_List[ii]->m_Name ) == 0 )
122 for(
unsigned ii = 0; ii <
m_List.size(); ii++ )
124 if( aItem->
m_Name.CmpNoCase(
m_List[ii]->m_Name ) == 0 )
139 list.Add( regulator->m_Name );
REGULATOR_DATA(const wxString &aName, double aVref, int aType, double aIadj=0)
void Remove(const wxString &aRegName)
wxArrayString GetRegList() const
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...
void Add(REGULATOR_DATA *aItem)
REGULATOR_DATA * GetReg(const wxString &aName)
std::vector< REGULATOR_DATA * > m_List
int StrNumCmp(const wxString &aString1, const wxString &aString2, bool aIgnoreCase)
Compare two strings with alphanumerical content.