TrinityCore
PreparedStatementData Struct Reference

#include <PreparedStatement.h>

Static Public Member Functions

template<typename T >
static std::string ToString (T value)
 
static std::string ToString (bool value)
 
static std::string ToString (uint8 value)
 
static std::string ToString (int8 value)
 
static std::string ToString (std::string const &value)
 
static std::string ToString (std::vector< uint8 > const &value)
 
static std::string ToString (std::nullptr_t)
 

Public Attributes

std::variant< bool, uint8, uint16, uint32, uint64, int8, int16, int32, int64, float, double, std::string, std::vector< uint8 >, std::nullptr_t > data
 

Detailed Description

Definition at line 30 of file PreparedStatement.h.

Member Function Documentation

◆ ToString() [1/7]

std::string PreparedStatementData::ToString ( bool  value)
static

Definition at line 144 of file PreparedStatement.cpp.

◆ ToString() [2/7]

std::string PreparedStatementData::ToString ( int8  value)
static

Definition at line 158 of file PreparedStatement.cpp.

◆ ToString() [3/7]

std::string PreparedStatementData::ToString ( std::nullptr_t  )
static

Definition at line 179 of file PreparedStatement.cpp.

◆ ToString() [4/7]

std::string PreparedStatementData::ToString ( std::string const &  value)
static

Definition at line 169 of file PreparedStatement.cpp.

+ Here is the call graph for this function:

◆ ToString() [5/7]

std::string PreparedStatementData::ToString ( std::vector< uint8 > const &  value)
static

Definition at line 174 of file PreparedStatement.cpp.

◆ ToString() [6/7]

template<typename T >
std::string PreparedStatementData::ToString ( value)
static

Definition at line 139 of file PreparedStatement.cpp.

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

◆ ToString() [7/7]

std::string PreparedStatementData::ToString ( uint8  value)
static

Definition at line 149 of file PreparedStatement.cpp.

Member Data Documentation

◆ data

std::variant< bool, uint8, uint16, uint32, uint64, int8, int16, int32, int64, float, double, std::string, std::vector<uint8>, std::nullptr_t > PreparedStatementData::data

Definition at line 47 of file PreparedStatement.h.


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