a8/a8/mutable_xobject.h
aozhiwei 8cf0d04a93 1
2023-03-03 21:55:56 +08:00

25 lines
619 B
C++

#pragma once
namespace a8
{
class MutableXObject : public XObject
{
protected:
MutableXObject();
public:
static std::shared_ptr<a8::MutableXObject> CreateObject();
static std::shared_ptr<a8::MutableXObject> CreateArray();
a8::MutableXObject& Push(a8::XValue val);
a8::MutableXObject& Push(a8::XObject& val);
a8::MutableXObject& SetVal(const std::string& key, a8::XValue val);
a8::MutableXObject& SetVal(const std::string& key, a8::XObject& val);
a8::MutableXObject& SetVal(const std::string& key, a8::MutableXObject& val);
};
}