diff options
author | bd <bdunahu@operationnull.com> | 2025-03-10 14:53:59 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-10 14:53:59 -0400 |
commit | cdcaec3c1e62b47fcd270df651cd0e343e46f0e7 (patch) | |
tree | fc77cc22024b719f14e03e29e2bbd94b3eb645ca /inc/storage.h | |
parent | 1f8b8babcfb383f1fb0281663561161061684206 (diff) |
Update cli method signatures, add some getters to cache and storage
Diffstat (limited to 'inc/storage.h')
-rw-r--r-- | inc/storage.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/storage.h b/inc/storage.h index 793b982..0ab16e4 100644 --- a/inc/storage.h +++ b/inc/storage.h @@ -17,6 +17,8 @@ enum Accessor { class Storage { public: + virtual ~Storage() = default; + /** * Write `data` into `address`. * @param the source making the request. @@ -49,6 +51,13 @@ class Storage */ void resolve(); + /** + * Getter for lower attribute. + * TODO this doesn't seem like good object-oriented practice. + * @return this->lower + */ + Storage *get_lower(); + protected: /** * The data currently stored in this level of storage. |