/* */ #ifndef _D_DICTIONARY_H_ #define _D_DICTIONARY_H_ #include "MetaEntry.h" #include #include #include using namespace std; typedef map MetaTable; typedef deque Order; class Dictionary : public MetaEntry { private: MetaTable table; Order order; void clearTable(); public: Dictionary(); ~Dictionary(); const MetaEntry* get(string name) const; void put(string name, MetaEntry* entry); void accept(MetaEntryVisitor* v) const; const Order& getOrder() const; }; #endif // _D_DICTIONARY_H_