read/write
This commit is contained in:
@@ -8,8 +8,12 @@ template <typename ValueType>
|
||||
class Field {
|
||||
public:
|
||||
// Provide an access to the stored value
|
||||
ValueType& GetValue();
|
||||
const ValueType& GetValue() const;
|
||||
ValueType& GetValue() {
|
||||
return m_Value;
|
||||
}
|
||||
const ValueType& GetValue() const {
|
||||
return m_Value;
|
||||
}
|
||||
|
||||
// Read (deserialise) and update internal value
|
||||
void Read(DataBuffer& buffer) {
|
||||
|
||||
Reference in New Issue
Block a user