// XMLToSource.h: interface for the XMLToSource class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_XMLTOSOURCE_H__177D044A_A8B0_4D76_8BA9_F59FEB04905F__INCLUDED_)
#define AFX_XMLTOSOURCE_H__177D044A_A8B0_4D76_8BA9_F59FEB04905F__INCLUDED_

#include "MetaElements.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class XMLToSource  
{
public:
	void Do(CString fn);
	ShapeTransEdge* DecodeEdge(StringList &list );
	ShapeActivity* DecodeActivity(StringList &list );
	ShapeSwimlane* DecodeSwimlane(StringList &list );
	ShapeActivityGraph* DecodeActivityGraph(StringList &list );
	UMLOperation DecodeOperation(StringList &list);
	ShapeClass* DecodeClass(StringList &list);
	ShapeNamespace* DecodeNamespace(StringList &list);
	RECT DecodePos(StringList &list);
	UMLParameter DecodeParameter(StringList &list );
	UMLAttribute DecodeAttribute(StringList &list );
	CString DecodeItem(StringList &list ,CString& content);
	void DecodeALine(StringList &list , CString str );
	BOOL ReadALine(CFile &file ,CString &str);
	XMLToSource();
	virtual ~XMLToSource();

};

#endif // !defined(AFX_XMLTOSOURCE_H__177D044A_A8B0_4D76_8BA9_F59FEB04905F__INCLUDED_)
