📄 warregistrybase.h
字号:
/** */#ifndef WAR_REGISTRY_BASE_H#define WAR_REGISTRY_BASE_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_COLLECTOR_H# include "WarCollector.h"#endif#ifndef WAR_SMART_POINTER_H# include "WarSmartPointer.h"#endif#ifndef WAR_PTR_WRAPPER_H# include "WarPtrWrapper.h"#endif/* 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 WarRegistryBase :public WarSmartPointer{public: typedef std::basic_string<war_sysch_t> name_t; typedef std::basic_string<war_sysch_t> text_t; typedef std::basic_string<war_sysch_t> value_t; typedef const war_sysch_t *name_ccstr_t; typedef const war_sysch_t *text_ccstr_t; typedef const war_sysch_t *val_ccstr_t; // LIFECYCLE /** * Default constructor. */ WarRegistryBase(name_ccstr_t name, text_ccstr_t comment); /** * Copy constructor. * * @param from The value to copy to this object. */ WarRegistryBase(const WarRegistryBase& from); /** * Destructor. */ ~WarRegistryBase(); // OPERATORS bool operator == (const WarRegistryBase& from); bool operator < (const WarRegistryBase& from); /** * Assignment operator. * * @param from THe value to assign to this object. * * @return A reference to this object. */ WarRegistryBase& operator = (const WarRegistryBase& from); // OPERATIONS // CALLBACK // ACCESS const name_t& GetName() const throw(WarException); const text_t& GetComment() const throw(WarException); // INQUIRY protected: name_t mName; text_t mComment; // Original comment from fileprivate:};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif /* WAR_REGISTRY_BASE_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -