TrinityCore
Guild::LogHolder< Entry > Class Template Reference

Public Member Functions

 LogHolder ()
 
bool CanInsert () const
 
template<typename... Ts>
void LoadEvent (Ts &&... args)
 
template<typename... Ts>
EntryAddEvent (CharacterDatabaseTransaction trans, Ts &&... args)
 
uint32 GetNextGUID ()
 
std::list< Entry > & GetGuildLog ()
 
std::list< Entry > const & GetGuildLog () const
 

Private Attributes

std::list< Entrym_log
 
uint32 const m_maxRecords
 
uint32 m_nextGUID
 

Detailed Description

template<typename Entry>
class Guild::LogHolder< Entry >

Definition at line 541 of file Guild.h.

Constructor & Destructor Documentation

◆ LogHolder()

template<typename Entry >
Guild::LogHolder< Entry >::LogHolder ( )

Definition at line 85 of file Guild.cpp.

Member Function Documentation

◆ AddEvent()

template<typename Entry >
template<typename... Ts>
Entry & Guild::LogHolder< Entry >::AddEvent ( CharacterDatabaseTransaction  trans,
Ts &&...  args 
)

Definition at line 98 of file Guild.cpp.

+ Here is the caller graph for this function:

◆ CanInsert()

template<typename Entry >
bool Guild::LogHolder< Entry >::CanInsert ( ) const
inline

Definition at line 547 of file Guild.h.

+ Here is the caller graph for this function:

◆ GetGuildLog() [1/2]

template<typename Entry >
std::list< Entry > & Guild::LogHolder< Entry >::GetGuildLog ( )
inline

Definition at line 558 of file Guild.h.

◆ GetGuildLog() [2/2]

template<typename Entry >
std::list< Entry > const & Guild::LogHolder< Entry >::GetGuildLog ( ) const
inline

Definition at line 559 of file Guild.h.

◆ GetNextGUID()

template<typename Entry >
uint32 Guild::LogHolder< Entry >::GetNextGUID ( )
inline

Definition at line 112 of file Guild.cpp.

+ Here is the caller graph for this function:

◆ LoadEvent()

template<typename Entry >
template<typename... Ts>
void Guild::LogHolder< Entry >::LoadEvent ( Ts &&...  args)

Definition at line 90 of file Guild.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_log

template<typename Entry >
std::list<Entry> Guild::LogHolder< Entry >::m_log
private

Definition at line 562 of file Guild.h.

◆ m_maxRecords

template<typename Entry >
uint32 const Guild::LogHolder< Entry >::m_maxRecords
private

Definition at line 563 of file Guild.h.

◆ m_nextGUID

template<typename Entry >
uint32 Guild::LogHolder< Entry >::m_nextGUID
private

Definition at line 564 of file Guild.h.


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