virtual std::string ToString() const = 0;
};
//-----------------------------------------------------------------------------
+typedef std::map<std::string, USER_PROPERTY_BASE *> REGISTRY;
+//-----------------------------------------------------------------------------
template<typename varT>
class USER_PROPERTY : public USER_PROPERTY_BASE {
public:
bool isStat,
STG_LOGGER & logger,
const std::string & sd,
- std::map<std::string, USER_PROPERTY_BASE*> & properties);
+ REGISTRY & properties);
virtual ~USER_PROPERTY_LOGGED() {}
USER_PROPERTY_LOGGED<varT> * GetPointer() throw() { return this; }
начале идет закрытая секция
* */
-public:
- typedef std::map<std::string, USER_PROPERTY_BASE *> REGISTRY;
private:
USER_STAT stat;
USER_CONF conf;
bool isSt,
STG_LOGGER & logger,
const std::string & sd,
- USER_PROPERTIES::REGISTRY & properties)
+ REGISTRY & properties)
: USER_PROPERTY<varT>(val),
stgLogger(logger),