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

📄 postmasterinterface.cpp

📁 24学时攻克C++光盘源代码 深入浅出 方便实用
💻 CPP
字号:
 // Listing 22.2 the PostMasterMessage class

 class PostMasterMessage : public MailMessage
 {
 public:
     PostMasterMessage();
     PostMasterMessage(
         pAddress Sender,
         pAddress Recipient,
         pString Subject,
         pDate creationDate);

     // other constructors here
     // remember to include copy constructor
     // as well as constructor from storage
     // and constructor from wire format
     // Also include constructors from other formats
     ~PostMasterMessage();
     pAddress& GetSender() const;
     void SetSender(pAddress&);
     // other member accessors

     // operator methods here, including operator equals
     // and conversion routines to turn PostMaster messages
     // into messages of other formats.

 private:
     pAddress itsSender;
     pAddress itsRecipient;
     pString  itsSubject;
     pDate itsCreationDate;
     pDate itsLastModDate;
     pDate itsReceiptDate;
     pDate itsFirstReadDate;
     pDate itsLastReadDate;
 };

⌨️ 快捷键说明

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