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$ 00013 // 00014 00018 #ifndef _HDISPATCHXML_H 00019 #define _HDISPATCHXML_H 00020 00021 #ifdef H_PACK_8 00022 #pragma pack(push) 00023 #pragma pack(8) 00024 #endif 00025 00026 #include "HTools.h" 00027 00028 00030 00034 class MVO_API TK_Dispatch_XML : public TK_XML 00035 { 00036 00037 00038 public: 00039 00044 TK_Dispatch_XML(HBaseModel * model); 00045 ~TK_Dispatch_XML(); 00046 00052 TK_Status Interpret(BStreamFileToolkit &tk, ID_Key key, int variant) alter; 00053 00057 TK_Status Execute (BStreamFileToolkit & tk) alter; 00058 00062 TK_Status Read (BStreamFileToolkit & tk); 00063 00068 void AddHandler(TK_XML *handler); 00069 00071 void StopIteration() { m_bStopIteration = true; } 00072 00076 TK_Dispatch_XML *MakeCopy(); 00077 00078 protected: 00079 struct vlist_s* m_XMLHandlerList; 00081 private: 00082 HBaseModel * m_pModel; 00083 bool m_bStopIteration; 00084 bool m_bCloned; 00085 00086 00087 }; 00088 00089 00090 00091 #ifdef H_PACK_8 00092 #pragma pack(pop) 00093 #endif 00094 00095 #endif 00096 00097 00098 00099 00100 00101