q5/mutable_xobject.go
aozhiwei 5b8b5563e9 1
2020-10-23 11:14:30 +08:00

40 lines
769 B
Go

package q5
type MutableXObject struct {
XObject
}
func NewMxoArray() *MutableXObject {
p:= new(MutableXObject)
return p
}
func NewMxoObject() *MutableXObject {
p:= new(MutableXObject)
return p
}
func (this *MutableXObject) PushXValue(val *XValue) *MutableXObject{
return this
}
func (this *MutableXObject) PushMutableXObject(val MutableXObject) *MutableXObject{
return this
}
func (this *MutableXObject) SetXValue(key string, val *XValue) *MutableXObject{
return this
}
func (this *MutableXObject) SetXObject(key string, val *XObject) *MutableXObject{
return this
}
func (this *MutableXObject) SetMutableXObject(key string, val *MutableXObject) *MutableXObject{
return this
}
func (this *MutableXObject) AsXObject() *XObject{
return &this.XObject
}