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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user