warlogidentifier.h

来自「ftpserver very good sample」· C头文件 代码 · 共 95 行

H
95
字号
/** */#ifndef WAR_LOG_IDENTIFIER_H#define WAR_LOG_IDENTIFIER_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES *//* LOCAL INCLUDES *//* FORWARD REFERENCES */#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarLogIdentifier {public:    // LIFECYCLE        /**    * Default constructor.    */    WarLogIdentifier(const WarLogIdentifier *pfrom = NULL);        /**    * Copy constructor.    *    * @param from The value to copy to this object.    */    WarLogIdentifier(const WarLogIdentifier& from);        /**    * Destructor.    */    ~WarLogIdentifier();        // OPERATORS        /**    * Assignment operator.    *    * @param from THe value to assign to this object.    *    * @return A reference to this object.    */    WarLogIdentifier& operator = (const WarLogIdentifier& from);        // OPERATIONS	void AddLogIdentifierTag(const char *tag);	void GetLogIdentifier(std::string& returnBuf) const;    // CALLBACK    // ACCESS    // INQUIRY	bool HaveLogIdentifier() const;    protected:private:	std::string mIdentifier;};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_LOG_IDENTIFIER_H_ */

⌨️ 快捷键说明

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