// Helper class that associates instances of itself with each host.
// Facilitate global operations on hosts, and retreiving of host name
// Helper class that associates instances of itself with each host.
// Facilitate global operations on hosts, and retreiving of host name
static size_t size() { return hosts.size(); }
static const hostdata& at(size_t i) { return hosts[i]; }
static size_t size() { return hosts.size(); }
static const hostdata& at(size_t i) { return hosts[i]; }
private:
// static list of hostdata's, used by create/destroy
static std::vector<hostdata> hosts;
private:
// static list of hostdata's, used by create/destroy
static std::vector<hostdata> hosts;