}
else
{
- for (unsigned int i = 0; i < cp->dataParser.size(); i++)
+ for (size_t i = 0; i < cp->dataParser.size(); i++)
{
cp->dataParser[i]->SetAnswerList(&cp->answerList);
cp->dataParser[i]->SetCurrAdmin(*cp->currAdmin);
}
else
{
- for (unsigned int i = 0; i < cp->dataParser.size(); i++)
+ for (size_t i = 0; i < cp->dataParser.size(); i++)
{
if (cp->dataParser[i]->ParseEnd(data, el) == 0)
{
void CONFIGPROTO::SetAdmins(ADMINS * a)
{
admins = a;
-for (unsigned int i = 0; i < dataParser.size(); i++)
+for (size_t i = 0; i < dataParser.size(); i++)
{
dataParser[i]->SetAdmins(a);
}
//-----------------------------------------------------------------------------
void CONFIGPROTO::SetUsers(USERS * u)
{
-for (unsigned int i = 0; i < dataParser.size(); i++)
+for (size_t i = 0; i < dataParser.size(); i++)
{
dataParser[i]->SetUsers(u);
}
//-----------------------------------------------------------------------------
void CONFIGPROTO::SetTariffs(TARIFFS * t)
{
-for (unsigned int i = 0; i < dataParser.size(); i++)
+for (size_t i = 0; i < dataParser.size(); i++)
{
dataParser[i]->SetTariffs(t);
}
//-----------------------------------------------------------------------------
void CONFIGPROTO::SetStore(STORE * s)
{
-for (unsigned int i = 0; i < dataParser.size(); i++)
+for (size_t i = 0; i < dataParser.size(); i++)
{
dataParser[i]->SetStore(s);
}
//-----------------------------------------------------------------------------
void CONFIGPROTO::SetStgSettings(const SETTINGS * s)
{
-for (unsigned int i = 0; i < dataParser.size(); i++)
+for (size_t i = 0; i < dataParser.size(); i++)
{
dataParser[i]->SetStgSettings(s);
}
}
//-----------------------------------------------------------------------------
-const string & CONFIGPROTO::GetStrError() const
-{
-return errorStr;
-}
-//-----------------------------------------------------------------------------
-uint32_t CONFIGPROTO::GetAdminIP() const
-{
-return adminIP;
-}
-//-----------------------------------------------------------------------------