Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
RTno/SequenceOctet.h
- Committer:
- nucho
- Date:
- 2011-07-29
- Revision:
- 0:b14546a3cfab
File content as of revision 0:b14546a3cfab:
/*******************************************
* SequenceOctet.h
* @author Yuki Suga
* @copyright Yuki Suga (ysuga.net) Nov, 10th, 2010.
* @license LGPLv3
*****************************************/
#ifndef SEQUENCE_OCTET_HEADER_INCLUDED
#define SEQUENCE_OCTET_HEADER_INCLUDED
class SequenceOctet : public SequenceDataType
{
private:
char* m_pData;
public:
SequenceOctet() : SequenceDataType((void**)&m_pData) {
}
~SequenceOctet(){}
virtual int SizeofData() { return 4; }
char& operator[](int index) {
return m_pData[index];
}
};
#endif