Back to the top page
Back to the upper page
Description
ロウデータをデコーディングするためのベースとなるクラスです。
メンバ関数 Decodeは継承された先のクラスで定義、実行される必要があります。
Function members
protected
- TArtDecoder (int id)
- TArtDecoder(const TArtDecoder&)
- int fID
public
- virtual ~TArtDecoder()
- int GetID()
- virtual int Decode(unsigned char* &buffer,const unsigned int &size, TArtRawSegmentObject *rawseg)
- typedef struct mask_t
- unsigned int bits;
- unsigned int shift;
- inline unsigned int GetMaskedData32 (unsigned int data, mask_t mask)
Function documents
- TArtDecoder(int id)
Assign id to fID.
- int GetID()
Return id.
- inline unsigned int GetMaskedData32(unsigned int data, mask_t mask)
Mask data with value defined by mask.bits and shift masked value to right by number of bits given by value defined by mask.shift.
Last-modified: Fri, 21 Oct 2011 20:53:47 JST (4949d)