18#ifndef TRINITY_DATABASE_FIELD_H
19#define TRINITY_DATABASE_FIELD_H
51 char const*
Name =
nullptr;
100 return GetUInt8() == 1 ? true :
false;
103 uint8 GetUInt8()
const;
104 int8 GetInt8()
const;
106 int16 GetInt16()
const;
108 int32 GetInt32()
const;
110 int64 GetInt64()
const;
111 float GetFloat()
const;
112 double GetDouble()
const;
113 char const* GetCString()
const;
114 std::string GetString()
const;
115 std::string_view GetStringView()
const;
116 std::vector<uint8> GetBinary()
const;
120 std::array<uint8, S> buf;
121 GetBinarySizeChecked(buf.data(), S);
127 return _value ==
nullptr;
134 void SetValue(
char const* newValue,
uint32 length);
139 void GetBinarySizeChecked(
uint8* buf,
size_t size)
const;
Class used to access individual fields of database query result.
QueryResultFieldMetadata const * _meta
std::array< uint8, S > GetBinary() const
constexpr std::size_t size()