TrinityCore
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  unique_ptr_deleter
 

Functions

template<class T , class Tuple , size_t... I>
T * new_from_tuple (Tuple &&args, std::index_sequence< I... >)
 
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

◆ ByteArrayToHexStr()

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

Definition at line 849 of file Util.cpp.

+ 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 907 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 871 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... >   
)

Definition at line 52 of file Tuples.h.