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 00013 #ifndef _HDISPATCHXML_H 00014 #define _HDISPATCHXML_H 00015 00016 #ifdef H_PACK_8 00017 #pragma pack(push) 00018 #pragma pack(8) 00019 #endif 00020 00021 #include "HTools.h" 00022 00023 00025 00029 class MVO_API TK_Dispatch_XML : public TK_XML 00030 { 00031 00032 00033 public: 00034 00039 TK_Dispatch_XML(HBaseModel * model); 00040 ~TK_Dispatch_XML(); 00041 00047 TK_Status Interpret(BStreamFileToolkit &tk, ID_Key key, int variant); 00048 00052 TK_Status Execute (BStreamFileToolkit & tk); 00053 00057 TK_Status Read (BStreamFileToolkit & tk); 00058 00063 void AddHandler(TK_XML *handler); 00064 00066 void StopIteration() { m_bStopIteration = true; } 00067 00071 TK_Dispatch_XML *MakeCopy(); 00072 00073 protected: 00074 struct vlist_s* m_XMLHandlerList; 00076 private: 00077 HBaseModel * m_pModel; 00078 bool m_bStopIteration; 00079 bool m_bCloned; 00080 00081 00082 }; 00083 00084 00085 00086 #ifdef H_PACK_8 00087 #pragma pack(pop) 00088 #endif 00089 00090 #endif 00091 00092 00093 00094 00095 00096