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