![](/media/cache/profiles/94aef38441efa3380a3bed3faf1f9d5d.50x50_q85.jpg)
Diff: RTno/SequenceBoolean.h
- Revision:
- 0:3c49891bc39d
diff -r 000000000000 -r 3c49891bc39d RTno/SequenceBoolean.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RTno/SequenceBoolean.h Fri Jul 29 11:23:44 2011 +0000 @@ -0,0 +1,27 @@ +/******************************************* + * SequenceBoolean.h + * @author Yuki Suga + * @copyright Yuki Suga (ysuga.net) Nov, 10th, 2010. + * @license LGPLv3 + *****************************************/ + +#ifndef SEQUENCE_BOOLEAN_HEADER_INCLUDED +#define SEQUENCE_BOOLEAN_HEADER_INCLUDED + +class SequenceBoolean : public SequenceDataType +{ + private: + char* m_pData; + public: + SequenceBoolean() : SequenceDataType((void**)&m_pData) { + + } + ~SequenceBoolean(){} + virtual int SizeofData() { return 1; } + char& operator[](int index) { + return m_pData[index]; + } + +}; + +#endif