4 #include "Core/Global.h"
5 #include "Core/Utils/StringUtils.h"
6 #include "Serializing/Core/SerializableData.h"
18 template<typename T, bool IsHidden = false, typename std::enable_if<std::is_arithmetic<T>::value> * =
nullptr>
41 bool deserialize(
const char *i_szValue)
override {
55 bool deserialize(std::vector<std::string>::const_iterator &i_oIt,
56 const std::vector<std::string>::const_iterator &i_oItEnd)
override {
68 CreateSerializeOperators(T, IsHidden);
72 template<
bool IsH
idden = false>
76 template<
bool IsH
idden = false>
80 template<
bool IsH
idden = false>
84 template<
bool IsH
idden = false>
88 template<
bool IsH
idden = false>
92 template<
bool IsH
idden = false>
96 template<
bool IsH
idden = false>
100 template<
bool IsH
idden = false>
104 template<
typename T,
bool IsH
idden = false>
This file contains a series of type definitions for the codebase.
A class for reading data from a buffer. This class provides functionality to read data from a buffer....
Definition: ReadStream.h:37
T get(const size_t i_nPosition, const bool i_fSetPosition)
Reads a value of type T from the buffer.
Definition: ReadStream.h:344
A class for writing data to a buffer. This class provides functionality to write data to a buffer....
Definition: WriteStream.h:42
void push(const void *i_pBuffer, size_t i_nSize)
Pushes the specified data to the buffer.
Definition: WriteStream.cpp:30
Class representing an arithmetic value for serialization.
Definition: SerializableArithmetic.h:19
Template class representing a data field.
Definition: SerializableData.h:86
T m_tValue
The value.
Definition: SerializableData.h:78
The namespace encapsulating serializing related functionality in the Devel framework.
unsigned long long ToUInt64(const std::string &i_sBuffer)
Converts a string to an unsigned 64-bit integer.
Definition: StringUtils.h:231
unsigned int ToUInt(const std::string &i_sBuffer)
Converts a string to an unsigned integer.
Definition: StringUtils.h:248