TrinityCore
Loading...
Searching...
No Matches
Trinity::Impl Namespace Reference

Namespaces

namespace  ChatCommands
 
namespace  EnumUtilsImpl
 
namespace  StringConvertImpl
 

Classes

struct  CastToVisitor
 
struct  CryptoGenericsImpl
 
struct  GenericBaseEncoding
 
class  GenericHash
 
struct  GenericHashImpl
 
class  GenericHMAC
 
class  MPSCQueueIntrusive
 
class  MPSCQueueNonIntrusive
 
struct  SpawnObjectTypeForImpl
 
struct  SpawnObjectTypeForImpl< AreaTrigger >
 
struct  SpawnObjectTypeForImpl< Creature >
 
struct  SpawnObjectTypeForImpl< GameObject >
 
struct  stateful_unique_ptr_deleter
 
struct  stateless_unique_ptr_deleter
 

Functions

template<typename T >
T * AssertNotNull (T *pointer, char const *file, int line, char const *function, char const *message) noexcept
 
std::string StringVFormat (FormatStringView fmt, FormatArgs args) noexcept
 
void StringVFormatToImpl (fmt::detail::buffer< char > &buffer, FormatStringView fmt, FormatArgs args) noexcept
 
template<class T , class Tuple , size_t... I>
T * new_from_tuple (Tuple &&args, std::index_sequence< I... >)
 
template<template< typename > typename Check, typename T , typename... Ts>
consteval auto find_type_in_list_if_impl ()
 
TC_COMMON_API std::string ByteArrayToHexStr (uint8 const *bytes, size_t length, bool reverse=false)
 
TC_COMMON_API void HexStrToByteArray (std::string_view str, uint8 *out, size_t outlen, bool reverse=false)
 
TC_COMMON_API std::string GetTypeName (std::type_info const &)
 

Function Documentation

◆ AssertNotNull()

template<typename T >
T * Trinity::Impl::AssertNotNull ( T *  pointer,
char const *  file,
int  line,
char const *  function,
char const *  message 
)
inlinenoexcept

Definition at line 45 of file Errors.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ByteArrayToHexStr()

std::string Trinity::Impl::ByteArrayToHexStr ( uint8 const *  bytes,
size_t  length,
bool  reverse = false 
)

Definition at line 807 of file Util.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_type_in_list_if_impl()

template<template< typename > typename Check, typename T , typename... Ts>
consteval auto Trinity::Impl::find_type_in_list_if_impl ( )

Definition at line 41 of file Types.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTypeName()

std::string Trinity::Impl::GetTypeName ( std::type_info const &  info)

Definition at line 875 of file Util.cpp.

+ Here is the caller graph for this function:

◆ HexStrToByteArray()

void Trinity::Impl::HexStrToByteArray ( std::string_view  str,
uint8 out,
size_t  outlen,
bool  reverse = false 
)

Definition at line 829 of file Util.cpp.

+ Here is the caller graph for this function:

◆ new_from_tuple()

template<class T , class Tuple , size_t... I>
T * Trinity::Impl::new_from_tuple ( Tuple &&  args,
std::index_sequence< I... >   
)
inline

Definition at line 46 of file Tuples.h.

◆ StringVFormat()

TC_COMMON_API std::string Trinity::Impl::StringVFormat ( FormatStringView  fmt,
FormatArgs  args 
)
noexcept

Definition at line 23 of file StringFormat.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StringVFormatToImpl()

TC_COMMON_API void Trinity::Impl::StringVFormatToImpl ( fmt::detail::buffer< char > &  buffer,
FormatStringView  fmt,
FormatArgs  args 
)
noexcept

Definition at line 33 of file StringFormat.cpp.

+ Here is the caller graph for this function: