00001 // Copyright (c) 1998-2014 by Tech Soft 3D, Inc. 00002 // 00003 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., 00004 // and considered a trade secret as defined under civil and criminal statutes. 00005 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of 00006 // unauthorized use or misappropriation of its trade secrets. Use of this information 00007 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under 00008 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use. 00009 00010 #ifndef HBINFILETK_POLYPOLY 00011 #define HBINFILETK_POLYPOLY 00012 00013 #include "HOpcodeHandler.h" 00014 #include "BPolyPoly.h" 00015 00016 00018 00034 class HBINFILETK_API HTK_PolyPolypoint : public TK_PolyPolypoint { 00035 protected: 00037 HC_KEY * m_keys; 00038 public: 00040 HTK_PolyPolypoint(unsigned char op) : TK_PolyPolypoint(op) { 00041 m_keys = 0; 00042 }; 00043 ~HTK_PolyPolypoint() { 00044 Reset(); 00045 }; 00046 00047 TK_Status Execute (BStreamFileToolkit & tk); 00048 TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, int variant=-1); 00049 TK_Status Interpret (BStreamFileToolkit & tk, ID_Key key, char const * special) 00050 { return TK_PolyPolypoint::Interpret(tk, key, special); } 00051 TK_Status Clone (BStreamFileToolkit & tk, BBaseOpcodeHandler **handler) const; 00052 void Reset () { 00053 delete[] m_keys; 00054 m_keys = 0; 00055 TK_PolyPolypoint::Reset(); 00056 } 00057 }; 00058 00059 00060 00061 #endif