1 #ifndef SkOpArray_DEFINED 2 #define SkOpArray_DEFINED 3 4 #include "SkOperand2.h" 5 #include "SkTDArray_Experimental.h" 6 7 typedef SkLongArray(SkOperand2) SkTDOperand2Array; 8 9 class SkOpArray : public SkTDOperand2Array { 10 public: 11 SkOpArray(); 12 SkOpArray(SkOperand2::OpType type); 13 bool getIndex(int index, SkOperand2* operand); 14 SkOperand2::OpType getType() { return fType; } 15 void setType(SkOperand2::OpType type) { 16 fType = type; 17 } 18 protected: 19 SkOperand2::OpType fType; 20 }; 21 22 #endif // SkOpArray_DEFINED 23