📄 warlogidentifier.h
字号:
/** */#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -