mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[ion] Storage: add comment on Record
This commit is contained in:
committed by
EmilieNumworks
parent
845fc7c979
commit
3bc16637a0
@@ -19,6 +19,12 @@ namespace Ion {
|
||||
class Storage {
|
||||
public:
|
||||
class Record {
|
||||
/* A Record is identified by the CRC32 on his name because:
|
||||
* - a record is identified by its name which is unique
|
||||
* - we cannot keep the address pointing to the name because if another
|
||||
* record is modified, it might alter our record name address and keeping
|
||||
* a buffer with the name will waste memory as we cannot forsee the size
|
||||
* of the name. */
|
||||
friend class Storage;
|
||||
public:
|
||||
enum class ErrorStatus {
|
||||
|
||||
Reference in New Issue
Block a user