1 #ifndef _boardlistxml_
\r
2 #define _boardlistxml_
\r
4 #include "../ifmsxmldocument.h"
\r
6 class BoardListXML:public IFMSXMLDocument
\r
11 std::string GetXML();
\r
13 const bool ParseXML(const std::string &xml);
\r
15 void AddBoard(const std::string &name, const std::string &description);
\r
16 const long GetCount() { return m_boards.size(); }
\r
17 const std::string GetName(const long index);
\r
18 const std::string GetDescription(const long index);
\r
23 board(const std::string &name, const std::string &description):m_name(name),m_description(description) {}
\r
25 std::string m_description;
\r
30 std::vector<board> m_boards;
\r
34 #endif // _boardlistxml_
\r