35 #include <boost/shared_ptr.hpp> 44 typedef boost::shared_ptr<Object> ObjectPtr;
64 kInvalidType = 0xffffffff
143 virtual ObjectPtr
CreateArray(
size_t size = 0)
const = 0;
151 virtual bool GetBoolean(bool16 &value)
const = 0;
167 virtual bool GetInteger(int32 &value)
const = 0;
646 pointArray->SetNthArrayValue(0,
CreateReal(x));
647 pointArray->SetNthArrayValue(1,
CreateReal(y));
675 ObjectPtr pointArray;
679 pointArray->GetNthArrayRealValue(0, point.
X()) &&
680 pointArray->GetNthArrayRealValue(1, point.
Y())
699 rectArray->SetNthArrayValue(0,
CreateReal(left));
700 rectArray->SetNthArrayValue(1,
CreateReal(top));
701 rectArray->SetNthArrayValue(2,
CreateReal(right));
702 rectArray->SetNthArrayValue(3,
CreateReal(bottom));
734 rectArray->GetNthArrayRealValue(0, bounds.
Left()) &&
735 rectArray->GetNthArrayRealValue(1, bounds.
Top()) &&
736 rectArray->GetNthArrayRealValue(2, bounds.
Right()) &&
737 rectArray->GetNthArrayRealValue(3, bounds.
Bottom())
757 assetObject->SetFileValue(
WideString(
"File"), file);
758 assetObject->SetStringValue(
WideString(
"ID"),
id);
762 assetObject->SetStringValue(
WideString(
"Tag"), tag);