26#ifndef CLASS_REGULATOR_DATA_H
27#define CLASS_REGULATOR_DATA_H
39 REGULATOR_DATA(
const wxString& aName,
double aVrefMin,
double aVrefTyp,
double aVrefMax,
40 int aType,
double aIadjTyp = 0,
double aIadjMax = 0 ) :
81 for( ; ii <
m_List.size(); ii++ )
94 if( aName.CmpNoCase( regulator->m_Name ) == 0 )
102 for(
unsigned ii = 0; ii <
m_List.size(); ii++ )
104 if( aRegName.CmpNoCase(
m_List[ii]->m_Name ) == 0 )
121 for(
unsigned ii = 0; ii <
m_List.size(); ii++ )
123 if( aItem->
m_Name.CmpNoCase(
m_List[ii]->m_Name ) == 0 )
138 list.Add( regulator->m_Name );
REGULATOR_DATA(const wxString &aName, double aVrefMin, double aVrefTyp, double aVrefMax, int aType, double aIadjTyp=0, double aIadjMax=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.