summaryrefslogtreecommitdiff
path: root/cpp/src/qmf/Value.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qmf/Value.h')
-rw-r--r--cpp/src/qmf/Value.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/cpp/src/qmf/Value.h b/cpp/src/qmf/Value.h
index 2ec2149110..449872764b 100644
--- a/cpp/src/qmf/Value.h
+++ b/cpp/src/qmf/Value.h
@@ -33,7 +33,6 @@ namespace qmf {
// Value();
Value(const Value& from);
Value(Typecode t, Typecode arrayType = TYPE_UINT8);
- Value(ValueImpl* impl);
~Value();
Typecode getType() const;
@@ -81,7 +80,7 @@ namespace qmf {
void setUuid(const uint8_t* val);
bool isObject() const;
- Object* asObject() const;
+ const Object* asObject() const;
void setObject(Object* val);
bool isMap() const;
@@ -106,6 +105,12 @@ namespace qmf {
void appendToArray(Value* val);
void deleteArrayItem(uint32_t idx);
+ private:
+ friend class ValueImpl;
+ friend class BrokerProxyImpl;
+ friend class ObjectImpl;
+ friend class AgentEngineImpl;
+ Value(ValueImpl* impl);
ValueImpl* impl;
};
}