IPAddressList.h
Go to the documentation of this file.
#ifndef __IPAddressList_h__
#define __IPAddressList_h__
#include "includes"
#include "IPAddress.h"
namespace core {
class IPAddressList {
public:
IPAddressList();
std::map<std::string, IPAddress> getList();
void 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::IPAddressList::remove
bool remove(IPAddress ipAddress)
Definition: IPAddressList.cpp:15
core::IPAddressList::add
void add(IPAddress ipAddress)
Definition: IPAddressList.cpp:11
core::IPAddressList::contains
bool contains(std::string ipAddress)
Definition: IPAddressList.cpp:19
IPAddress.h
core::IPAddress
Definition: IPAddress.h:9
core::IPAddressList
Definition: IPAddressList.h:9
core
Definition: Command.cpp:5
core::IPAddressList::getList
std::map< std::string, IPAddress > getList()
Definition: IPAddressList.cpp:7
core::IPAddressList::IPAddressList
IPAddressList()
Definition: IPAddressList.cpp:5