a8/a8/mutable_xobject.h
aozhiwei 0908b71e83 1
2018-11-23 10:54:12 +08:00

28 lines
639 B
C++

#ifndef A8_MUTABLE_XOBJECT_H
#define A8_MUTABLE_XOBJECT_H
namespace a8
{
class MutableXObject : public XObject
{
private:
MutableXObject();
public:
static a8::MutableXObject* NewObject();
static a8::MutableXObject* NewArray();
a8::MutableXObject& Push(a8::XValue val);
a8::MutableXObject& Push(a8::MutableXObject& 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);
};
}
#endif