LAPTOP-SNT8I5JK\Boounion
2025-06-20 2abde7163867930b35d4288546e4fb02bdec064f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
#include <string>
#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;
};