![](/media/cache/profiles/94aef38441efa3380a3bed3faf1f9d5d.50x50_q85.jpg)
RTno/SequenceFloat.h
- Committer:
- nucho
- Date:
- 2011-08-01
- Revision:
- 1:b96a6ff9bb6f
- Parent:
- 0:b14546a3cfab
File content as of revision 1:b96a6ff9bb6f:
/******************************************* * SequenceFloat.h * @author Yuki Suga * @copyright Yuki Suga (ysuga.net) Nov, 10th, 2010. * @license LGPLv3 *****************************************/ #ifndef SEQUENCE_FLOAT_HEADER_INCLUDED #define SEQUENCE_FLOAT_HEADER_INCLUDED class SequenceFloat : public SequenceDataType { private: float* m_pData; public: SequenceFloat() : SequenceDataType((void**)&m_pData) { } ~SequenceFloat(){} virtual int SizeofData() { return 4; } float& operator[](int index) { return m_pData[index]; } }; #endif