HLAArrayDataElement(const HLAArrayDataType* dataType = 0);
virtual ~HLAArrayDataElement();
+ virtual bool setDataElement(HLADataElementIndex::const_iterator begin, HLADataElementIndex::const_iterator end, HLADataElement* dataElement);
+ virtual HLADataElement* getDataElement(HLADataElementIndex::const_iterator begin, HLADataElementIndex::const_iterator end);
+ virtual const HLADataElement* getDataElement(HLADataElementIndex::const_iterator begin, HLADataElementIndex::const_iterator end) const;
+
+ virtual bool setDataType(const HLADataType* dataType);
+
virtual bool setNumElements(unsigned size);
virtual bool decodeElement(HLADecodeStream& stream, unsigned i);
virtual unsigned getNumElements() const;
const std::string& getValue() const
{ return _value; }
void setValue(const std::string& value)
- { _value = value; }
+ { _value = value; setDirty(true); }
virtual bool setNumElements(unsigned count)
{
const SGVec2<T>& getValue() const
{ return _value; }
void setValue(const SGVec2<T>& value)
- { _value = value; }
+ { _value = value; setDirty(true); }
virtual bool setNumElements(unsigned count)
{
const SGVec3<T>& getValue() const
{ return _value; }
void setValue(const SGVec3<T>& value)
- { _value = value; }
+ { _value = value; setDirty(true); }
virtual bool setNumElements(unsigned count)
{
const SGVec4<T>& getValue() const
{ return _value; }
void setValue(const SGVec4<T>& value)
- { _value = value; }
+ { _value = value; setDirty(true); }
virtual bool setNumElements(unsigned count)
{
const SGQuat<T>& getValue() const
{ return _value; }
void setValue(const SGQuat<T>& value)
- { _value = value; }
+ { _value = value; setDirty(true); }
virtual bool setNumElements(unsigned count)
{