30#ifndef CLASS_REGULATOR_DATA_H
31#define CLASS_REGULATOR_DATA_H
43 REGULATOR_DATA(
const wxString& aName,
double aVrefMin,
double aVrefTyp,
double aVrefMax,
44 int aType,
double aIadjTyp = 0,
double aIadjMax = 0 ) :
85 for( ; ii <
m_List.size(); ii++ )
98 if( aName.CmpNoCase( regulator->m_Name ) == 0 )
106 for(
unsigned ii = 0; ii <
m_List.size(); ii++ )
108 if( aRegName.CmpNoCase(
m_List[ii]->m_Name ) == 0 )
125 for(
unsigned ii = 0; ii <
m_List.size(); ii++ )
127 if( aItem->
m_Name.CmpNoCase(
m_List[ii]->m_Name ) == 0 )
142 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.