some ezc functions from templates/item.cpp moved to Item and ItemContent

methods HasAccess() HasReadAccess() and similar moved from System to Item and ItemContent
This commit is contained in:
2021-06-18 19:18:13 +02:00
parent ebd791a256
commit ec94dff7d7
32 changed files with 1255 additions and 544 deletions

View File

@@ -52,6 +52,7 @@ class DirContainer : public WinixBase
public:
typedef std::list<Item> Table;
typedef Table::iterator Iterator;
typedef Table::const_iterator ConstIterator;
typedef Table::size_type SizeType;
typedef std::map<long, Iterator> TableId;
@@ -66,8 +67,8 @@ public:
Iterator GetEtc();
Iterator GetVar();
Iterator Begin();
Iterator End();
ConstIterator Begin() const;
ConstIterator End() const;
SizeType Size();
bool Empty();
Iterator PushBack(const Item & item);
@@ -75,6 +76,7 @@ public:
void Clear();
Iterator FindId(long id);
ConstIterator FindId(long id) const;
bool DelById(long id);