![]() |
TrinityCore
|
#include <IPLocation.h>
Public Member Functions | |
| IpLocationStore () | |
| IpLocationStore (IpLocationStore const &)=delete | |
| IpLocationStore (IpLocationStore &&)=delete | |
| IpLocationStore & | operator= (IpLocationStore const &)=delete |
| IpLocationStore & | operator= (IpLocationStore &&)=delete |
| ~IpLocationStore () | |
| void | Load () |
| IpLocationRecord const * | GetLocationRecord (std::string const &ipAddress) const |
Static Public Member Functions | |
| static IpLocationStore * | Instance () |
Private Attributes | |
| std::vector< IpLocationRecord > | _ipLocationStore |
Definition at line 38 of file IPLocation.h.
|
default |
|
delete |
|
delete |
|
default |
| IpLocationRecord const * IpLocationStore::GetLocationRecord | ( | std::string const & | ipAddress | ) | const |
Definition at line 121 of file IPLocation.cpp.
References _ipLocationStore, and IpLocationRecord::IpTo.
|
static |
Definition at line 146 of file IPLocation.cpp.
| void IpLocationStore::Load | ( | ) |
Definition at line 31 of file IPLocation.cpp.
References _ipLocationStore, ASSERT, IpLocationRecord::IpFrom, IpLocationRecord::IpTo, sConfigMgr, BigNumber::SetDecStr(), strToLower(), TC_LOG_ERROR, TC_LOG_INFO, and BigNumber::ToByteArray().
|
delete |
|
delete |
|
private |
Definition at line 53 of file IPLocation.h.
Referenced by GetLocationRecord(), and Load().