|
Devel Lib
|
Class representing an arithmetic value for serialization. More...
#include <SerializableArithmetic.h>


Public Member Functions | |
| CreateSerializeOperators (T, IsHidden) | |
Public Member Functions inherited from Devel::Serializing::IData< T, false > | |
| virtual | ~IData ()=default |
| Default destructor. | |
| bool | doSerialize (IO::CWriteStream &i_oStream) const |
| Serializes the data to a write stream. More... | |
| bool | doDeserialize (IO::CReadStream &i_oStream) |
| Deserializes the data from a read stream. More... | |
| bool | doDeserialize (const char *i_szString) |
| Deserializes the data from a string. More... | |
| bool | doDeserialize (std::vector< std::string >::const_iterator &i_oIt, const std::vector< std::string >::const_iterator &i_oItEnd) |
| Deserializes the data from a range of strings. More... | |
| virtual size_t | size () const |
| Returns the size of the data. More... | |
| virtual bool | isHidden () const |
| Returns whether the field is hidden. More... | |
| virtual SCompareData | compareData () const |
| Returns the compare data for the data field. More... | |
| auto | begin () const |
| Returns an iterator pointing to the beginning of the value. More... | |
| auto | end () const |
| Returns an iterator pointing to the end of the value. More... | |
| auto & | operator[] (const size_t i_nIndex) |
| Returns a reference to the value at the specified index. More... | |
| const auto & | operator[] (const size_t i_nIndex) const |
| Returns a const reference to the value at the specified index. More... | |
| SerializerEnableIfNotArithmetic (IData< T > &) operator--() | |
| Pre-decrement operator. More... | |
| SerializerEnableIfNotArithmetic (IData< T > &) operator--(int) | |
| Post-decrement operator. More... | |
| SerializerEnableIfNotArithmetic (IData< T > &) operator++() | |
| Pre-increment operator. More... | |
| SerializerEnableIfNotArithmetic (IData< T > &) operator++(int) | |
| Post-increment operator. More... | |
Public Member Functions inherited from Devel::Serializing::IValue< T > | |
| template<typename ... TArgs, std::enable_if_t< std::is_constructible_v< T, TArgs... >> * = nullptr> | |
| IValue (TArgs... i_tArgs) | |
Constructs an IValue object with the specified arguments. More... | |
| const T & | value () const |
| Returns the value. More... | |
| T & | value () |
| Returns a reference to the value. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Devel::Serializing::IValue< T > | |
| T | m_tValue |
| The value. | |
Class representing an arithmetic value for serialization.
| T | The type of the arithmetic value. |
| IsHidden | Flag indicating if the field should be hidden during serialization. |
| Enable | SFINAE enable parameter to restrict the template to arithmetic types. |