diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-25 18:12:54 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-25 18:12:54 +1000 |
commit | 7d205330dbf1c2fd44d9d58393ab46434ac8bb5e (patch) | |
tree | e73db06236120e2399f0b4863257477eec528295 /source/core/StarDirectives.hpp | |
parent | e2424b7dcf60d18b277b092eb7f2a947fff27415 (diff) |
More directives optimization
Diffstat (limited to 'source/core/StarDirectives.hpp')
-rw-r--r-- | source/core/StarDirectives.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/core/StarDirectives.hpp b/source/core/StarDirectives.hpp index 440b33a..dafa2a0 100644 --- a/source/core/StarDirectives.hpp +++ b/source/core/StarDirectives.hpp @@ -73,9 +73,13 @@ public: void applyExistingImage(Image& image) const; inline size_t hash() const; + const List<Directives>& list() const; friend bool operator==(DirectivesGroup const& a, DirectivesGroup const& b); friend bool operator!=(DirectivesGroup const& a, DirectivesGroup const& b); + + friend DataStream& operator>>(DataStream& ds, DirectivesGroup& directives); + friend DataStream& operator<<(DataStream& ds, DirectivesGroup const& directives); private: void buildString(String& string, const DirectivesGroup& directives) const; |