- virtual void CreateAnswer() = 0;
- virtual void SetAnswerList(list<string> * ansList) { answerList = ansList; };
-
- virtual void SetUsers(USERS * u) { users = u; };
- virtual void SetAdmins(ADMINS * a) { admins = a; };
- virtual void SetTariffs(TARIFFS * t) { tariffs = t; };
- virtual void SetStore(BASE_STORE * s) { store = s; };
- virtual void SetStgSettings(const SETTINGS * s) { settings = s; };
-
- virtual void SetCurrAdmin(const ADMIN & cua) { currAdmin = cua; };
- virtual string & GetStrError(){return strError;};
- virtual void Reset(){ answerList->clear(); depth = 0; };
+ virtual void Reset() { answerList->clear(); depth = 0; }
+
+ void SetAnswerList(std::list<std::string> * ansList) { answerList = ansList; }
+
+ void SetUsers(USERS * u) { users = u; }
+ void SetAdmins(ADMINS * a) { admins = a; }
+ void SetTariffs(TARIFFS * t) { tariffs = t; }
+ void SetStore(STORE * s) { store = s; }
+ void SetStgSettings(const SETTINGS * s) { settings = s; }
+
+ void SetCurrAdmin(ADMIN & cua) { currAdmin = &cua; }
+ std::string & GetStrError() { return strError; }
+