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