SOA::SERVERLIST Class Reference

Class to contain list of "servers" with title and URL for each. More...

#include <soa/serverlist.h>

List of all members.

Classes

class  ITEM
 Individual item in list. More...

Public Types

typedef MILIST< SERVERLIST::ITEMITEMLIST

Public Member Functions

 SERVERLIST ()
 ~SERVERLIST ()
const ITEMLISTGetItemList () const
ITEMGetTopItem ()
const ITEMGetTopItem () 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

Detailed Description

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.


Member Typedef Documentation


Constructor & Destructor Documentation

SOA::SERVERLIST::SERVERLIST (  ) 

Constructor.

SOA::SERVERLIST::~SERVERLIST (  ) 

Destructor.


Member Function Documentation

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.

ERRVALUE SOA::SERVERLIST::Save ( const FILEPATH filepath  )  const

Save server list to file.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:39:20 2012 for TNTsdk 2012 by  doxygen 1.6.1