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

📄 odictcentry.clas

📁 linux下的E_MAIL客户端源码
💻 CLAS
字号:
/* *  ODictCEntry.clas -- class definition for an entry in an ODictC * *  This type of dictionary stores the actual keys and values */class CLASS {public:   KEYTYPE	key;   VALTYPE	val;   inline CLASS () {}   inline CLASS (const KEYTYPE& kobj, const VALTYPE& vobj)			: key(kobj), val(vobj) {}   inline CLASS (const CLASS& e) { *this = e; }   inline CLASS&	operator= (const CLASS& e) {      if ( this != &e ) {	 key = e.key;	 val = e.val;      }      return (*this);   }   inline int	operator== (const CLASS& e) const {      return (key == e.key && val == e.val);   }   inline int	operator!= (const CLASS& e) const {      return (!(*this==e));   }   inline int	compare  (const CLASS&) const { return 0; }   inline int	operator<(const CLASS&) const { return 0; }   inline int	operator>(const CLASS&) const { return 0; }   inline ostream&  printOn(ostream& strm=cout) const {      strm << key << " = " << val;      return strm;   }};inline ostream& operator<<(ostream& strm, CLASS& e){   return e.printOn(strm);}

⌨️ 快捷键说明

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