Class to contain list of "servers" with title and URL for each. More...
#include <soa/serverlist.h>
Classes | |
| class | ITEM |
| Individual item in list. More... | |
Public Types | |
| typedef MILIST< SERVERLIST::ITEM > | ITEMLIST |
Public Member Functions | |
| SERVERLIST () | |
| ~SERVERLIST () | |
| const ITEMLIST & | GetItemList () const |
| ITEM & | GetTopItem () |
| const ITEM & | GetTopItem () const |
| ERRVALUE | Load (const HTTPMESSAGE &msg, std::vector< MISTRING > *additionaltags=0) |
| ERRVALUE | Load (const FILEPATH &filepath, std::vector< MISTRING > *additionaltags=0) |
| ERRVALUE | Save (const FILEPATH &filepath) const |
Class to contain list of "servers" with title and URL for each.
Supports hierarchical "folders", local file load/save as well as loading from network reply.
| SOA::SERVERLIST::SERVERLIST | ( | ) |
Constructor.
| SOA::SERVERLIST::~SERVERLIST | ( | ) |
Destructor.
| const ITEMLIST& SOA::SERVERLIST::GetItemList | ( | ) | const [inline] |
Get item list.
| ITEM& SOA::SERVERLIST::GetTopItem | ( | ) | [inline] |
Get top (root) item.
| const ITEM& SOA::SERVERLIST::GetTopItem | ( | ) | const [inline] |
Get top (root) item.
| ERRVALUE SOA::SERVERLIST::Load | ( | const HTTPMESSAGE & | msg, | |
| std::vector< MISTRING > * | additionaltags = 0 | |||
| ) |
Load server list from message reply with optional additional tags to parse.
| ERRVALUE SOA::SERVERLIST::Load | ( | const FILEPATH & | filepath, | |
| std::vector< MISTRING > * | additionaltags = 0 | |||
| ) |
Load server list from file with optional additional tags to parse.
1.6.1