DDraceNetwork Documentation
Loading...
Searching...
No Matches
CExcludedCommunityCountryFilterList Class Reference

#include <serverbrowser.h>

Inheritance diagram for CExcludedCommunityCountryFilterList:
[legend]
Collaboration diagram for CExcludedCommunityCountryFilterList:
[legend]

Public Member Functions

 CExcludedCommunityCountryFilterList (const ICommunityCache *pCommunityCache)
void Add (const char *pCountryName) override
void Add (const char *pCommunityId, const char *pCountryName)
void Remove (const char *pCountryName) override
void Remove (const char *pCommunityId, const char *pCountryName)
void Clear () override
bool Filtered (const char *pCountryName) const override
bool Empty () const override
void Clean (const std::vector< CCommunity > &vAllowedCommunities)
void Save (IConfigManager *pConfigManager) const
Public Member Functions inherited from IFilterList
virtual ~IFilterList ()=default

Private Attributes

const ICommunityCachem_pCommunityCache
std::map< CCommunityId, std::set< CCommunityCountryName > > m_Entries

Constructor & Destructor Documentation

◆ CExcludedCommunityCountryFilterList()

CExcludedCommunityCountryFilterList::CExcludedCommunityCountryFilterList ( const ICommunityCache * pCommunityCache)
inline

Member Function Documentation

◆ Add() [1/2]

void CExcludedCommunityCountryFilterList::Add ( const char * pCommunityId,
const char * pCountryName )

◆ Add() [2/2]

void CExcludedCommunityCountryFilterList::Add ( const char * pCountryName)
overridevirtual

Implements IFilterList.

◆ Clean()

void CExcludedCommunityCountryFilterList::Clean ( const std::vector< CCommunity > & vAllowedCommunities)

◆ Clear()

void CExcludedCommunityCountryFilterList::Clear ( )
overridevirtual

Implements IFilterList.

◆ Empty()

bool CExcludedCommunityCountryFilterList::Empty ( ) const
overridevirtual

Implements IFilterList.

◆ Filtered()

bool CExcludedCommunityCountryFilterList::Filtered ( const char * pCountryName) const
overridevirtual

Implements IFilterList.

◆ Remove() [1/2]

void CExcludedCommunityCountryFilterList::Remove ( const char * pCommunityId,
const char * pCountryName )

◆ Remove() [2/2]

void CExcludedCommunityCountryFilterList::Remove ( const char * pCountryName)
overridevirtual

Implements IFilterList.

◆ Save()

void CExcludedCommunityCountryFilterList::Save ( IConfigManager * pConfigManager) const

Member Data Documentation

◆ m_Entries

std::map<CCommunityId, std::set<CCommunityCountryName> > CExcludedCommunityCountryFilterList::m_Entries
private

◆ m_pCommunityCache

const ICommunityCache* CExcludedCommunityCountryFilterList::m_pCommunityCache
private

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