Debian Codegraph @

src/librssguard/services/abstract/rootitem.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/services/abstract/rootitem.h`/
2
3 #ifndef ROOTITEM_H
4 #define ROOTITEM_Hcxx . . $ `src/librssguard/services/abstract/rootitem.h:4:9`!
5
6 #include "core/message.h"cxx . . $ `<file>/src/librssguard/core/message.h`/
7
8 #include <QDateTime>
9 #include <QFont>
10 #include <QIcon>
11
12 class Categorycxx . . $ Category#;
13 class Feedcxx . . $ Feed#;
14 class Labelcxx . . $ Label#;
15 class Searchcxx . . $ Search#;
16 class ServiceRootcxx . . $ ServiceRoot#;
17 class QActioncxx . . $ QAction#;
18
19 // Represents ROOT item of FeedsModel.
20 // NOTE: This class is derived to add functionality for
21 // all other non-root items of FeedsModel.
22 class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! RootItemcxx . . $ RootItem# : public QObjectcxx . . $ QObject# {
23 Q_OBJECTcxx . . $ RootItem#qt_staticMetaObjectRelocatingContent.
24
25 // Added for message filtering with labels.
26 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(QString title READ title)
27 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(int id READ id)
28 Q_PROPERTYcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:58:9`!(QString customId READ customId)
29
30 public:
31 enum class ReadStatuscxx . . $ RootItem#ReadStatus# {
32 Unreadcxx . . $ RootItem#ReadStatus#Unread. = 0,
33 Readcxx . . $ RootItem#ReadStatus#Read. = 1,
34 Unknowncxx . . $ RootItem#ReadStatus#Unknown. = 256
35 };
36
37 // Holds statuses for messages
38 // to be switched importance (starred).
39 enum class Importancecxx . . $ RootItem#Importance# {
40 NotImportantcxx . . $ RootItem#Importance#NotImportant. = 0,
41 Importantcxx . . $ RootItem#Importance#Important. = 1,
42 Unknowncxx . . $ RootItem#Importance#Unknown. = 256
43 };
44
45 // Describes the kind of the item.
46 enum class Kindcxx . . $ RootItem#Kind# {
47 Rootcxx . . $ RootItem#Kind#Root. = 1,
48 Bincxx . . $ RootItem#Kind#Bin. = 2,
49 Feedcxx . . $ RootItem#Kind#Feed. = 4,
50 Categorycxx . . $ RootItem#Kind#Category. = 8,
51 ServiceRootcxx . . $ RootItem#Kind#ServiceRoot. = 16,
52 Labelscxx . . $ RootItem#Kind#Labels. = 32,
53 Importantcxx . . $ RootItem#Kind#Important. = 64,
54 Labelcxx . . $ RootItem#Kind#Label. = 128,
55 Unreadcxx . . $ RootItem#Kind#Unread. = 256,
56 Probescxx . . $ RootItem#Kind#Probes. = 512,
57 Probecxx . . $ RootItem#Kind#Probe. = 1024
58 };
59
60 // Constructors and destructors.
61 explicit RootItemcxx . . $ RootItem#RootItem(cb16baca005cfe86).(RootItemcxx . . $ RootItem#* parent_item = nullptr);
62 explicit RootItemcxx . . $ RootItem#RootItem(b0a40b96e931d9e8).(const RootItemcxx . . $ RootItem#& other);
63 virtual ~cxx . . $ RootItem#`~RootItem`(ced63f7c635d850d).RootItemcxx . . $ RootItem#();
64
65 virtual QStringcxx . . $ QString# hashCodecxx . . $ RootItem#hashCode(6ef7b6c27b00b43d).() const;
66 virtual QStringcxx . . $ QString# additionalTooltipcxx . . $ RootItem#additionalTooltip(6ef7b6c27b00b43d).() const;
67
68 // Returns list of specific actions which can be done with the item.
69 // Do not include general actions here like actions: Mark as read, Update, ...
70 // NOTE: Ownership of returned actions is not switched to caller, free them when needed.
71 virtual QListcxx . . $ QList#<QActioncxx . . $ QAction#*> contextMenuFeedsListcxx . . $ RootItem#contextMenuFeedsList(c4b3bc0793dee689).();
72
73 // Can properties of this item be edited?
74 virtual bool canBeEditedcxx . . $ RootItem#canBeEdited(50ce9a9e25b4a850).() const;
75
76 // Can the item be deleted?
77 virtual bool canBeDeletedcxx . . $ RootItem#canBeDeleted(50ce9a9e25b4a850).() const;
78
79 // Performs deletion of the item, this
80 // method should NOT display any additional dialogs.
81 // Returns result status.
82 virtual bool deleteItemcxx . . $ RootItem#deleteItem(c9857a73d68e59ba).();
83
84 virtual bool isFetchingcxx . . $ RootItem#isFetching(50ce9a9e25b4a850).() const;
85
86 // Performs all needed steps (DB update, remote server update)
87 // to mark this item as read/unread.
88 virtual bool markAsReadUnreadcxx . . $ RootItem#markAsReadUnread(c2f07a1f8834328b).(ReadStatuscxx . . $ RootItem#ReadStatus# status);
89
90 // Get ALL undeleted messages from this item in one single list.
91 // This is currently used for displaying items in "newspaper mode".
92 virtual QListcxx . . $ QList#<Messagecxx . . $ Message#> undeletedMessagescxx . . $ RootItem#undeletedMessages(96785ab56182243a).() const;
93
94 // This method should "clean" all messages it contains.
95 //
96 // NOTE: What "clean" means? It means delete messages -> move them to recycle bin
97 // or eventually remove them completely if there is no recycle bin functionality.
98 //
99 // If this method is called on "recycle bin" instance of your
100 // service account, it should "empty" the recycle bin.
101 virtual bool cleanMessagescxx . . $ RootItem#cleanMessages(efaadfb7dc14930a).(bool clear_only_read);
102
103 // Reloads current counts of articles in this item from DB and
104 // sets.
105 virtual void updateCountscxx . . $ RootItem#updateCounts(b45ddcbc8423892c).(bool including_total_count);
106 virtual int rowcxx . . $ RootItem#row(455f465bc33b4cdf).() const;
107 virtual QVariantcxx . . $ QVariant# datacxx . . $ RootItem#data(db8258505c7ad0b0).(int column, int role) const;
108 virtual Qtcxx . . $ Qt/::ItemFlagscxx . . $ Qt/ItemFlags# additionalFlagscxx . . $ RootItem#additionalFlags(24da1317fea73b2e).() const;
109 virtual bool performDragDropChangecxx . . $ RootItem#performDragDropChange(424ed8b026878aba).(RootItemcxx . . $ RootItem#* target_item);
110
111 // Each item offers "counts" of messages.
112 // Returns counts of messages of all child items summed up.
113 virtual int countOfUnreadMessagescxx . . $ RootItem#countOfUnreadMessages(455f465bc33b4cdf).() const;
114 virtual int countOfAllMessagescxx . . $ RootItem#countOfAllMessages(455f465bc33b4cdf).() const;
115
116 RootItemcxx . . $ RootItem#* parentcxx . . $ RootItem#parent(e4f4b13bf6686a09).() const;
117 void setParentcxx . . $ RootItem#setParent(cb16baca005cfe86).(RootItemcxx . . $ RootItem#* parent_item);
118
119 // Access to children.
120 RootItemcxx . . $ RootItem#* childcxx . . $ RootItem#child(6eb183cf16468031).(int row);
121 int childCountcxx . . $ RootItem#childCount(455f465bc33b4cdf).() const;
122 void appendChildcxx . . $ RootItem#appendChild(cb16baca005cfe86).(RootItemcxx . . $ RootItem#* child);
123
124 QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*> childItemscxx . . $ RootItem#childItems(cc885028f1f18398).(RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# kind) const;
125 QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*> childItemscxx . . $ RootItem#childItems(8f33d497292471a8).() const;
126 QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*>& childItemscxx . . $ RootItem#childItems(f275a58a8bc5f139).();
127
128 void clearChildrencxx . . $ RootItem#clearChildren(49f6e7a06ebc5aa8).();
129 void setChildItemscxx . . $ RootItem#setChildItems(47657a4e8825adca).(const QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*>& child_items);
130
131 // Removes particular child at given index.
132 // NOTE: Child is NOT freed from the memory.
133 bool removeChildcxx . . $ RootItem#removeChild(83c267b20bac841a).(int index);
134 bool removeChildcxx . . $ RootItem#removeChild(424ed8b026878aba).(RootItemcxx . . $ RootItem#* child);
135
136 // Checks whether "this" object is child (direct or indirect)
137 // of the given root.
138 bool isChildOfcxx . . $ RootItem#isChildOf(fac344fa80e9abcf).(const RootItemcxx . . $ RootItem#* root) const;
139
140 // Is "this" item parent (direct or indirect) if given child?
141 bool isParentOfcxx . . $ RootItem#isParentOf(fac344fa80e9abcf).(const RootItemcxx . . $ RootItem#* child) const;
142
143 // Returns flat list of all items from subtree where this item is a root.
144 // Returned list includes this item too.
145 template <typename T>
146 QListcxx . . $ QList#<T*> getSubTreecxx . . $ RootItem#getSubTree(38d8ae5645f2bbf1).(stdcxx . . $ std/::functioncxx . . $ std/function#<bool(const RootItemcxx . . $ RootItem#*)> tester = nullptrcxx . . $ std/function#function(6d988fd07f070dfc).) const;
147
148 QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*> getSubTreecxx . . $ RootItem#getSubTree(cc885028f1f18398).(RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# kind_of_item) const;
149 QListcxx . . $ QList#<Categorycxx . . $ Category#*> getSubTreeCategoriescxx . . $ RootItem#getSubTreeCategories(d8651057aa4a83be).() const;
150
151 RootItemcxx . . $ RootItem#* getItemFromSubTreecxx . . $ RootItem#getItemFromSubTree(d39f768279e67ac5).(stdcxx . . $ std/::functioncxx . . $ std/function#<bool(const RootItemcxx . . $ RootItem#*)> tester) const;
152
153 // Returns list of categories complemented by their own integer primary ID.
154 QHashcxx . . $ QHash#<int, Categorycxx . . $ Category#*> getSubTreeCategoriesForAssemblecxx . . $ RootItem#getSubTreeCategoriesForAssemble(92718ba2d7a417a1).() const;
155
156 // Returns list of categories complemented by their own string CUSTOM ID.
157 QHashcxx . . $ QHash#<QStringcxx . . $ QString#, Categorycxx . . $ Category#*> getHashedSubTreeCategoriescxx . . $ RootItem#getHashedSubTreeCategories(1f6c633b056f06b8).() const;
158
159 // Returns list of feeds complemented by their own string CUSTOM ID.
160 QHashcxx . . $ QHash#<QStringcxx . . $ QString#, Feedcxx . . $ Feed#*> getHashedSubTreeFeedscxx . . $ RootItem#getHashedSubTreeFeeds(ed69023a4766ed52).() const;
161
162 QListcxx . . $ QList#<Feedcxx . . $ Feed#*> getSubTreeFeedscxx . . $ RootItem#getSubTreeFeeds(7d493c88c85a9a14).(bool recursive = true) const;
163 QListcxx . . $ QList#<Feedcxx . . $ Feed#*> getSubTreeAutoFetchingWithManualIntervalsFeedscxx . . $ RootItem#getSubTreeAutoFetchingWithManualIntervalsFeeds(3a739c0eda2e4ac8).() const;
164 QListcxx . . $ QList#<Feedcxx . . $ Feed#*> getSubAutoFetchingEnabledFeedscxx . . $ RootItem#getSubAutoFetchingEnabledFeeds(3a739c0eda2e4ac8).() const;
165
166 // Returns the service root node which is direct or indirect parent of current item.
167 ServiceRootcxx . . $ ServiceRoot#* getParentServiceRootcxx . . $ RootItem#getParentServiceRoot(56209a8cf0725652).() const;
168
169 RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# kindcxx . . $ RootItem#kind(faa800885e6a64b).() const;
170 void setKindcxx . . $ RootItem#setKind(77afe77d4ce7bfe8).(RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# kind);
171
172 // Each item can have icon.
173 QIconcxx . . $ QIcon# iconcxx . . $ RootItem#icon(952ef71f8967d9eb).() const;
174 void setIconcxx . . $ RootItem#setIcon(71dcdac178620ed6).(const QIconcxx . . $ QIcon#& icon);
175
176 // Returns icon, even if item has "default" icon set, then
177 // this icon is extra loaded and returned.
178 QIconcxx . . $ QIcon# fullIconcxx . . $ RootItem#fullIcon(952ef71f8967d9eb).() const;
179
180 // This ALWAYS represents primary column number/ID under which
181 // the item is stored in DB.
182 int idcxx . . $ RootItem#id(455f465bc33b4cdf).() const;
183
184 // WARNING: Do not EVER call this method if your "this" object is derived
185 // from "ServiceRoot";
186 void setIdcxx . . $ RootItem#setId(d4f767463ce0a6b3).(int id);
187
188 // Each item has its title.
189 QStringcxx . . $ QString# titlecxx . . $ RootItem#title(6ef7b6c27b00b43d).() const;
190 QStringcxx . . $ QString# sanitizedTitlecxx . . $ RootItem#sanitizedTitle(6ef7b6c27b00b43d).() const;
191 void setTitlecxx . . $ RootItem#setTitle(3520e46b33348bf6).(const QStringcxx . . $ QString#& title);
192
193 // This should be in UTC and should be converted to localtime when needed.
194 QDateTimecxx . . $ QDateTime# creationDatecxx . . $ RootItem#creationDate(4e062b5c490497ac).() const;
195 void setCreationDatecxx . . $ RootItem#setCreationDate(3672ecc950120406).(const QDateTimecxx . . $ QDateTime#& creation_date);
196
197 QStringcxx . . $ QString# descriptioncxx . . $ RootItem#description(6ef7b6c27b00b43d).() const;
198 void setDescriptioncxx . . $ RootItem#setDescription(3520e46b33348bf6).(const QStringcxx . . $ QString#& description);
199
200 // NOTE: For standard feed/category, this WILL equal to id().
201 QStringcxx . . $ QString# customIdcxx . . $ RootItem#customId(6ef7b6c27b00b43d).() const;
202 int customNumericIdcxx . . $ RootItem#customNumericId(455f465bc33b4cdf).() const;
203 void setCustomIdcxx . . $ RootItem#setCustomId(3520e46b33348bf6).(const QStringcxx . . $ QString#& custom_id);
204
205 // Converters
206 Categorycxx . . $ Category#* toCategorycxx . . $ RootItem#toCategory(7ec1e35fb0cd560d).() const;
207 Feedcxx . . $ Feed#* toFeedcxx . . $ RootItem#toFeed(6205f4b142e8b232).() const;
208 Labelcxx . . $ Label#* toLabelcxx . . $ RootItem#toLabel(3494628e4df37b42).() const;
209 Searchcxx . . $ Search#* toProbecxx . . $ RootItem#toProbe(4adbbd05c673efe7).() const;
210 ServiceRootcxx . . $ ServiceRoot#* toServiceRootcxx . . $ RootItem#toServiceRoot(56209a8cf0725652).() const;
211
212 bool keepOnTopcxx . . $ RootItem#keepOnTop(50ce9a9e25b4a850).() const;
213 void setKeepOnTopcxx . . $ RootItem#setKeepOnTop(b45ddcbc8423892c).(bool keep_on_top);
214
215 // Sort order, when items in feeds list are sorted manually.
216 //
217 // NOTE: This is only used for "Account", "Category" and "Feed" classes
218 // which can be manually sorted. Other types like "Label" cannot be
219 // automatically sorted and are always sorted by title.
220 //
221 // Sort order number cannot be negative but order of list of items with same
222 // parent MUST form continuous series AND start with zero, for example:
223 // 0, 1, 2, 3, 4, ...
224 //
225 // NOTE: This is checked with DatabaseQueries::fixupOrders() method on app startup.
226 int sortOrdercxx . . $ RootItem#sortOrder(455f465bc33b4cdf).() const;
227 void setSortOrdercxx . . $ RootItem#setSortOrder(d4f767463ce0a6b3).(int sort_order);
228
229 private:
230 RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# m_kindcxx . . $ RootItem#m_kind.;
231 int m_idcxx . . $ RootItem#m_id.;
232 QStringcxx . . $ QString# m_customIdcxx . . $ RootItem#m_customId.;
233 QStringcxx . . $ QString# m_titlecxx . . $ RootItem#m_title.;
234 QStringcxx . . $ QString# m_descriptioncxx . . $ RootItem#m_description.;
235 QIconcxx . . $ QIcon# m_iconcxx . . $ RootItem#m_icon.;
236 QDateTimecxx . . $ QDateTime# m_creationDatecxx . . $ RootItem#m_creationDate.;
237 bool m_keepOnTopcxx . . $ RootItem#m_keepOnTop.;
238 int m_sortOrdercxx . . $ RootItem#m_sortOrder.;
239 QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*> m_childItemscxx . . $ RootItem#m_childItems.;
240 RootItemcxx . . $ RootItem#* m_parentItemcxx . . $ RootItem#m_parentItem.;
241 };
242
243 template <typename T>
244 QListcxx . . $ QList#<T*> RootItemcxx . . $ RootItem#::getSubTreecxx . . $ RootItem#getSubTree(38d8ae5645f2bbf1).(stdcxx . . $ std/::functioncxx . . $ std/function#<bool(const RootItemcxx . . $ RootItem#*)> tester) const {
245 QListcxx . . $ QList#<T*> children;
246 QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*> traversable_itemscxx . . $ QList#QList(ced63f7c635d850d).;
247
248 traversable_items.appendcxx . . $ QList#append(200d2dc08238a4ed).(const_cast<RootItemcxx . . $ RootItem#* const>(this));
249
250 // Iterate all nested items.
251 while (!traversable_items.isEmptycxx . . $ QList#isEmpty(3482b152b9333168).()) {
252 RootItemcxx . . $ RootItem#* active_item = traversable_items.takeFirstcxx . . $ QList#takeFirst(5f357b03ed472e5e).();
253
254 if (tester) {
255 if (tester(cxx . . $ std/function#`operator()`(39e0826ffb540481).active_item)) {
256 children.appendcxx . . $ QList#append(200d2dc08238a4ed).(dynamic_cast<T*>(active_item));
257 }
258 }
259 else {
260 children.appendcxx . . $ QList#append(1262c8661f7a27a7).(dynamic_cast<T*>(active_item));
261 }
262
263 traversable_items.appendcxx . . $ QList#append(3d2301cfd89f773a).(active_item->childItemscxx . . $ RootItem#childItems(f275a58a8bc5f139).());
264 }
265
266 return children;
267 }
268
269 inline RootItemcxx . . $ RootItem#* RootItemcxx . . $ RootItem#::parentcxx . . $ RootItem#parent(e4f4b13bf6686a09).() const {
270 return m_parentItemcxx . . $ RootItem#m_parentItem.;
271 }
272
273 inline void RootItemcxx . . $ RootItem#::setParentcxx . . $ RootItem#setParent(cb16baca005cfe86).(RootItemcxx . . $ RootItem#* parent_item) {
274 m_parentItemcxx . . $ RootItem#m_parentItem. = parent_item;
275 }
276
277 inline RootItemcxx . . $ RootItem#* RootItemcxx . . $ RootItem#::childcxx . . $ RootItem#child(6eb183cf16468031).(int row) {
278 return m_childItemscxx . . $ RootItem#m_childItems..valuecxx . . $ QList#value(be5542f01a25b32e).(row);
279 }
280
281 inline int RootItemcxx . . $ RootItem#::childCountcxx . . $ RootItem#childCount(455f465bc33b4cdf).() const {
282 return m_childItemscxx . . $ RootItem#m_childItems..sizecxx . . $ QList#size(6b0412d51016192f).();
283 }
284
285 inline void RootItemcxx . . $ RootItem#::appendChildcxx . . $ RootItem#appendChild(cb16baca005cfe86).(RootItemcxx . . $ RootItem#* child) {
286 if (child != nullptr) {
287 m_childItemscxx . . $ RootItem#m_childItems..appendcxx . . $ QList#append(200d2dc08238a4ed).(child);
288 child->setParentcxx . . $ RootItem#setParent(cb16baca005cfe86).(this);
289 }
290 }
291
292 inline QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*> RootItemcxx . . $ RootItem#::childItemscxx . . $ RootItem#childItems(8f33d497292471a8).() const {
293 return m_childItemscxx . . $ RootItem#m_childItems.;
294 }
295
296 inline QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*>& RootItemcxx . . $ RootItem#::childItemscxx . . $ RootItem#childItems(f275a58a8bc5f139).() {
297 return m_childItemscxx . . $ RootItem#m_childItems.;
298 }
299
300 inline void RootItemcxx . . $ RootItem#::clearChildrencxx . . $ RootItem#clearChildren(49f6e7a06ebc5aa8).() {
301 m_childItemscxx . . $ RootItem#m_childItems..clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
302 }
303
304 inline void RootItemcxx . . $ RootItem#::setChildItemscxx . . $ RootItem#setChildItems(47657a4e8825adca).(const QListcxx . . $ QList#<RootItemcxx . . $ RootItem#*>& child_items) {
305 clearChildrencxx . . $ RootItem#clearChildren(49f6e7a06ebc5aa8).();
306
307 for (RootItemcxx . . $ RootItem#* ch : child_items) {
308 appendChildcxx . . $ RootItem#appendChild(cb16baca005cfe86).(ch);
309 }
310 }
311
312 RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# operatorcxx . . $ `operator|`(8c9bf6f5291ee6f9).|(RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# a, RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# b);
313 RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# operatorcxx . . $ `operator&`(8c9bf6f5291ee6f9).&(RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# a, RootItemcxx . . $ RootItem#::Kindcxx . . $ RootItem#Kind# b);
314
315 QDataStreamcxx . . $ QDataStream#& operatorcxx . . $ `operator<<`(4fe496e2385cdb4).<<(QDataStreamcxx . . $ QDataStream#& out, const RootItemcxx . . $ RootItem#::Importancecxx . . $ RootItem#Importance#& myObj);
316 QDataStreamcxx . . $ QDataStream#& operatorcxx . . $ `operator>>`(c75e36a0dd6de3a5).>>(QDataStreamcxx . . $ QDataStream#& in, RootItemcxx . . $ RootItem#::Importancecxx . . $ RootItem#Importance#& myObj);
317 QDataStreamcxx . . $ QDataStream#& operatorcxx . . $ `operator<<`(98c166ac21dfd142).<<(QDataStreamcxx . . $ QDataStream#& out, const RootItemcxx . . $ RootItem#::ReadStatuscxx . . $ RootItem#ReadStatus#& myObj);
318 QDataStreamcxx . . $ QDataStream#& operatorcxx . . $ `operator>>`(63804b4a967d7e8f).>>(QDataStreamcxx . . $ QDataStream#& in, RootItemcxx . . $ RootItem#::ReadStatuscxx . . $ RootItem#ReadStatus#& myObj);
319
320 #endif // ROOTITEM_H