#pragma once class DMarkup; class DString; #ifdef XMLDDS_EXPORTS #define XMLDDS_API __declspec(dllexport) #else #define XMLDDS_API __declspec(dllimport) #endif class XMLDDS_API XMLDICOMDataSet { public: XMLDICOMDataSet (void); ~XMLDICOMDataSet (void); protected: DMarkup * xml; public: bool SetDoc (LPCTSTR string); bool SetDoc (DString & string); DString GetDoc (void) const; bool ReadFile (LPCTSTR szFileName); bool WriteFile (LPCTSTR szFileName); public: DString Get (USHORT g, USHORT e); DString GetSequence (USHORT g, USHORT e, int Index); void Set (USHORT g, USHORT e, const DString & string); void Set (USHORT g, USHORT e, LPCTSTR string); bool SetSequence (USHORT g, USHORT e, const DString & string); bool SetSequence (USHORT g, USHORT e, LPCTSTR string); bool Remove (USHORT g, USHORT e); bool IsExist (USHORT g, USHORT e); const char * GetVersion (void) const; };