| 33 | class TestObject : public ValdiObject, public ValueConvertible { |
| 34 | public: |
| 35 | TestObject(const StringBox& className, const Value* propertyValues, size_t propertiesSize) : _className(className) { |
| 36 | _properties = ValueArray::make(propertyValues, propertyValues + propertiesSize); |
| 37 | } |
| 38 | |
| 39 | TestObject(const StringBox& className, std::initializer_list<Value> propertyValues) |
| 40 | : TestObject(className, propertyValues.begin(), propertyValues.size()) {} |