TrinityCore
Loading...
Searching...
No Matches
IpLocationStore Class Reference

#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
 

Detailed Description

Definition at line 38 of file IPLocation.h.

Constructor & Destructor Documentation

◆ IpLocationStore() [1/3]

IpLocationStore::IpLocationStore ( )
default

◆ IpLocationStore() [2/3]

IpLocationStore::IpLocationStore ( IpLocationStore const &  )
delete

◆ IpLocationStore() [3/3]

IpLocationStore::IpLocationStore ( IpLocationStore &&  )
delete

◆ ~IpLocationStore()

IpLocationStore::~IpLocationStore ( )
default

Member Function Documentation

◆ GetLocationRecord()

IpLocationRecord const * IpLocationStore::GetLocationRecord ( std::string const &  ipAddress) const

Definition at line 121 of file IPLocation.cpp.

References _ipLocationStore, and IpLocationRecord::IpTo.

◆ Instance()

IpLocationStore * IpLocationStore::Instance ( )
static

Definition at line 146 of file IPLocation.cpp.

◆ Load()

◆ operator=() [1/2]

IpLocationStore & IpLocationStore::operator= ( IpLocationStore &&  )
delete

◆ operator=() [2/2]

IpLocationStore & IpLocationStore::operator= ( IpLocationStore const &  )
delete

Member Data Documentation

◆ _ipLocationStore

std::vector<IpLocationRecord> IpLocationStore::_ipLocationStore
private

Definition at line 53 of file IPLocation.h.

Referenced by GetLocationRecord(), and Load().


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