⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 odictc.clas

📁 linux下的E_MAIL客户端源码
💻 CLAS
字号:
/* *  ODictC.clas -- class definition for a set of relations * *  This type of dictionary stores the actual keys and values *  PDictC.h stores only pointers to the keys and values *//*-------------------------------------------------------------------------- * Define dictionary class */class CLASS : public ENTLIST {public:/* Copy one dictionary to another */   CLASS&	operator=(const CLASS&);/* Lookup up entries */   int		indexOf (const KEYTYPE&) const;   int		indexOf (const ENTRY&) const;   int		includes(const KEYTYPE&) const;   int		includes(const ENTRY&) const;   VALTYPE	*definitionOf(const KEYTYPE& key) const;   KEYTYPE	&keyOf(const int index) const;   VALTYPE	&valOf(const int index) const;   ENTRY	*entryOf(const KEYTYPE& key) const;/* Changing entries */   ENTRY	*add   (const KEYTYPE& key, const VALTYPE& val);   ENTRY	*modify(const KEYTYPE& key, const VALTYPE& val);   ENTRY	*modify(unsigned index,     const VALTYPE& val);/* Deleting entries */   void		remove(KEYTYPE&);   void		remove(unsigned);   void		remove(ENTRY&);};inline ostream& operator<<(ostream& strm, const CLASS& d){   return d.printOn(strm);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -