#pragma once #include #include "IRxObject.h" class IAny { public: virtual int addRef() = 0; virtual int release() = 0; virtual int getCode() = 0; virtual void setCode(int code) = 0; virtual bool getIntValue(const char* pszName, int& value) = 0; virtual void setIntValue(const char* pszName, const int value) = 0; virtual bool getUintValue(const char* pszName, unsigned int& value) = 0; virtual void setUintValue(const char* pszName, const unsigned int value) = 0; virtual bool getInt64Value(const char* pszName, __int64& value) = 0; virtual void setInt64Value(const char* pszName, const __int64 value) = 0; virtual bool getUint64Value(const char* pszName, unsigned __int64& value) = 0; virtual void setUint64Value(const char* pszName, const unsigned __int64 value) = 0; virtual bool getDoubleValue(const char* pszName, double& value) = 0; virtual void setDoubleValue(const char* pszName, const double value) = 0; virtual bool getFloatValue(const char* pszName, float& value) = 0; virtual void setFloatValue(const char* pszName, const float value) = 0; virtual bool getBoolValue(const char* pszName, bool& value) = 0; virtual void setBoolValue(const char* pszName, const bool value) = 0; virtual bool getPtrValue(const char* pszName, void*& value) = 0; virtual void setPtrValue(const char* pszName, const void* value) = 0; virtual bool getObject(const char* pszName, IRxObject*& value) = 0; virtual void setObject(const char* pszName, const IRxObject* value) = 0; virtual bool getStringValue(const char* pszName, const char*& pszValue) = 0; virtual void setStringValue(const char* pszName, const char* pszValue) = 0; virtual void allRxObjectAddRef() = 0; virtual void allRxObjectRelease() = 0; };