# BMA Server Framework: /home/bradarant/barant/ServerCore/IPAddressList.h Source File

/home/bradarant/barant/ServerCore/IPAddressList.h
#ifndef __IPAddressList_h__
#define __IPAddressList_h__
#include "includes"
#include "IPAddress.h"
namespace core {
class IPAddressList {
public:
IPAddressList();
std::map<std::string, IPAddress> getList();
bool add(IPAddress ipAddress);
bool remove(IPAddress ipAddress);
bool contains(std::string ipAddress);
private:
std::map<std::string, IPAddress> list;
std::map<std::string, IPAddress>::iterator it = list.begin();
};
}
#endif
core
Definition: Command.cpp:4
core::IPAddress
Definition: IPAddress.h:9
core::IPAddressList
Definition: IPAddressList.h:9