00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _CPROPERTYSHEETLIST
00025 #define _CPROPERTYSHEETLIST
00026 #include "libMRML/include/uses-declarations.h"
00027 #include <map>
00028 #include <string>
00029 #include "libMRML/include/CSelfDestroyPointer.h"
00030 class CXMLElement;
00031
00039 class CPropertySheetList{
00043 typedef map<string,CXMLElement*> CContent;
00045 CContent mContent;
00050 CSelfDestroyPointer<CXMLElement> mUnprocessedContent;
00051
00052 public:
00058 CPropertySheetList(CXMLElement* inUnprocessedContent);
00063 ~CPropertySheetList();
00068 void insertPropertySheet(const string& inID,
00069 CXMLElement* inXMLElement);
00071 CXMLElement& getPropertySheet(const string& inID);
00073 CXMLElement* newPropertySheet(const string& inID);
00074 };
00075
00076
00077
00078 #endif